/* progreso.html — estilos propios de la página. El layout compartido viene de shell.css,
   que se carga antes. Antes era un <style> inline (reporte frontend-quality, pulido de Code Quality). */
.profile{display:flex;align-items:center;gap:18px}
.avatar{width:74px;height:74px;border-radius:22px;background:#fff;border:1.5px solid var(--border);display:grid;place-items:center;font-size:40px;flex:none;overflow:hidden;white-space:nowrap}
.profile h2{margin:0;font-size:22px}
.profile p{margin:3px 0 0;color:var(--muted);font-size:12px}
.profile .grow{flex:1;min-width:0}
.level-row{display:flex;justify-content:space-between;font-size:11px;font-weight:800;margin:14px 0 6px}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}
.kpi{padding:14px 16px}
.kpi b{display:block;font-size:22px}
.kpi small{color:var(--muted);font-size:11px}
.section-title{font-size:16px;margin:25px 0 10px;display:flex;justify-content:space-between;align-items:baseline}
.section-title a{font-size:11px;color:#007f35;font-weight:700}
.hearts-card{padding:18px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.hearts-big{font-size:26px;font-weight:900;color:var(--red)}
.hearts-card .grow{flex:1;min-width:180px;font-size:12px;color:#475569;line-height:1.6}
.mod{padding:18px;margin-bottom:12px}
.mod-head{display:flex;align-items:center;gap:12px}
.mod-head .mi{font-size:26px}
.mod-head strong{display:block;font-size:14px}
.mod-head small{color:var(--muted);font-size:11px}
.mod-head .pct{margin-left:auto;font-weight:900;color:#007f35}
.urow{display:grid;grid-template-columns:minmax(0,1fr) 120px 54px;gap:12px;align-items:center;font-size:12px;padding:8px 0;border-top:1px solid var(--border)}
.urow:first-of-type{margin-top:12px}
.urow .progress{height:6px}
.urow span:last-child{text-align:right;color:var(--muted);font-size:11px}
.urow.locked{color:#707784}
.exam-card{padding:18px;display:flex;align-items:center;gap:16px}
.exam-card .big{font-size:26px;font-weight:900}
.exam-card .grow{flex:1;font-size:12px;color:#475569}
.account{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.account h4{margin:0 0 12px;font-size:13px}
.account form{display:flex;flex-direction:column;gap:10px}
.account label{font-size:11px;font-weight:700;color:#334155;display:flex;flex-direction:column;gap:5px}
.account input{border:1.5px solid var(--border);border-radius:10px;padding:10px 12px;font-size:16px;font-family:inherit;outline:none}
.account input:focus{border-color:var(--green)}
.account input:focus-visible{outline:2px solid #007f35;outline-offset:2px}
.emojis{display:flex;flex-wrap:wrap;gap:6px}
.emojis button{width:38px;height:38px;border-radius:10px;border:1.5px solid var(--border);background:#fff;font-size:20px;cursor:pointer}
.emojis button.selected{border-color:var(--green);background:#efffe9}
.save{border:0;background:#008939;color:#fff;border-radius:22px;padding:10px 16px;font-weight:800;font-size:12px;cursor:pointer;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12);align-self:flex-start}
.save:disabled{opacity:.6;cursor:wait}
.form-msg{font-size:11px;font-weight:600;min-height:14px;margin:0}
.form-msg.err{color:var(--red)}.form-msg.ok{color:#007f35}
.ach-mini{display:flex;flex-wrap:wrap;gap:8px}
.ach-mini span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:20px;background:#fff8e6}
.ach-mini span.off{background:#f0f2f6;filter:grayscale(1);opacity:.5}
@media(max-width:760px){
  .kpis{grid-template-columns:repeat(2,1fr)}
  .account{grid-template-columns:1fr}
  .urow{grid-template-columns:minmax(0,1fr) 80px 44px}
}
