@charset "UTF-8";
.sm-student-name{border:0;background:none;padding:0;color:var(--ink);text-align:left;font:inherit;font-weight:650;text-decoration:underline;text-underline-offset:4px;cursor:pointer;overflow-wrap:anywhere}.student-manager h2{padding-right:18px;overflow-wrap:anywhere}.student-manager input,.student-manager select,.student-manager textarea{width:100%;margin:6px 0 18px}.student-manager label{display:block}.sm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 8px}.sm-tabs button{border:1px solid #c9dad1;border-radius:9px;background:#f1f5f1;color:#31594a;padding:12px 16px;font:inherit;cursor:pointer}.sm-tabs button[aria-pressed=true]{background:#285d49;color:white}.sm-section,.sm-danger{padding:20px 0;border-top:1px solid #d9e2dc;margin-top:24px}.sm-danger{border-color:#e3c4bd}.sm-delete.btn{background:#9e3632;color:white;border-color:#9e3632}.sm-confirmation{background:#f1f6f2;border:2px solid #8cae98;border-radius:12px;padding:20px;margin-top:24px;scroll-margin-top:15px}.sm-warning{background:#fff4d7;border:1px solid #d7bd78;border-radius:12px;padding:16px;margin-bottom:18px}.sm-audit{border-top:1px solid #dce3dd;padding:15px 0}.sm-audit p{margin:6px 0;overflow-wrap:anywhere}#sm-status{color:#285d49;white-space:pre-line}#sm-status:empty{display:none}.student-manager .payment-confirmation input{width:auto;margin:0 10px 0 0}.student-manager button:disabled{opacity:.55;cursor:wait}.student-manager .actions{flex-wrap:wrap;justify-content:flex-start;gap:10px}
@media(max-width:650px){.is-admin #modal{width:calc(100% - 16px);padding:26px 18px;max-height:92dvh;margin:auto;border-radius:16px}.student-manager h2{font-size:22px}.sm-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sm-tabs button{font-size:13px;padding:12px 7px}.manager-table{min-width:0;width:100%}.manager-table thead{display:none}.manager-table tbody{display:grid;gap:16px}.manager-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px;border:1px solid #cfded5;border-radius:12px;background:#fff}.manager-table td{padding:0;border:0;min-width:0;font-size:13px}.manager-table td:first-child,.manager-table td:nth-child(2),.manager-table td:last-child{grid-column:1/-1}.manager-table td:nth-child(3)::before{content:'Pasos: ';font-weight:600}.manager-table td:nth-child(4)::before{content:'Min hoy: ';font-weight:600}.manager-table td:nth-child(5)::before{content:'Min 7 días: ';font-weight:600}.manager-table td:nth-child(6)::before{content:'Repasos: ';font-weight:600}.manager-table td:nth-child(8){grid-column:1/-1}.manager-table td:nth-child(8)::before{content:'Última conexión: ';font-weight:600}.manager-table td:last-child .btn{width:100%;margin-top:8px}.sm-student-name{font-size:15px;line-height:1.4}.student-manager .stats{gap:10px}.student-manager .stat{padding:15px}.student-manager .stat strong{font-size:26px}.sm-confirmation{padding:16px}.student-manager .sm-confirmation .actions button{width:100%}}

/* The home dashboard lifts its statistics over the hero on phones. Fichas use normal flow. */
.is-admin #modal .student-manager .stats{margin:18px 0 24px;position:static;z-index:auto;grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
.is-admin #modal .student-manager h3{line-height:1.4;margin:24px 0 14px;overflow-wrap:anywhere}
.is-admin #modal .student-manager .stat{min-width:0}
.is-admin #modal .student-manager .stat label{line-height:1.4;overflow-wrap:anywhere}

.sm-step-browser{margin-top:24px;min-width:0}.sm-step-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}.sm-step-filter,.sm-step-badge{border:1px solid var(--step-border,#d5ded9);background:var(--step-bg,#f2f5f3);color:var(--step-ink,#43574e);border-radius:10px;line-height:1.4}.sm-step-red{--step-bg:#fbe0da;--step-border:#d58e82;--step-ink:#8e3026}.sm-step-yellow{--step-bg:#fff0b8;--step-border:#c6a341;--step-ink:#72520b}.sm-step-green{--step-bg:#d9f0df;--step-border:#7cae8b;--step-ink:#235f39}.sm-step-filter{padding:10px 12px;font:inherit;font-size:14px;cursor:pointer}.sm-step-filter b{margin-left:5px}.sm-step-filter[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px;font-weight:700}.sm-step-filter:focus-visible{outline:3px solid #235978;outline-offset:3px}.sm-step-list{list-style:none;padding:0;margin:12px 0 24px;display:grid;gap:10px}.sm-step-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border:1px solid #d5e1dc;border-radius:12px;padding:15px;background:#fff}.sm-step-copy{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.sm-step-copy strong{font-size:19px;line-height:1.4}.sm-step-copy small{font-size:12px;color:#5a6c65;line-height:1.5}.sm-step-copy>span{font-size:15px;color:#4b626e;line-height:1.5}.sm-step-badge{flex-shrink:0;padding:6px 9px;font-size:13px;font-weight:650}.sm-step-count,.sm-step-empty{font-size:14px;line-height:1.6}.student-manager #sm-step-search{margin-bottom:4px}
@media(max-width:400px){.sm-step-row{flex-direction:column;gap:10px}.sm-step-filter{padding:9px 10px;font-size:13px}}

.sm-step-blocks{display:grid;gap:10px;margin:14px 0 24px}.sm-step-block{min-width:0;border:1px solid #c9dad1;border-radius:12px;background:#fff;overflow:hidden}.sm-step-block>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:16px;cursor:pointer;background:#f1f6f2;color:#244e3d;line-height:1.5}.sm-step-block>summary::-webkit-details-marker{display:none}.sm-step-block>summary::marker{content:''}.sm-step-block>summary:focus-visible{outline:3px solid #235978;outline-offset:-3px}.sm-step-block-title{font-weight:700;flex:1;min-width:0;overflow-wrap:anywhere}.sm-step-block-count{font-size:13px;white-space:nowrap}.sm-step-arrow{font-size:28px;line-height:1;transition:transform .15s}.sm-step-block[open]>summary .sm-step-arrow{transform:rotate(90deg)}.sm-step-block>.sm-step-list{margin:0;padding:12px;gap:10px}.sm-step-block:not([open])>.sm-step-list{display:none}
