:root{--bg: #FAF6EF;--side: #F3ECE0;--card: #FFFFFF;--line: #ECE3D3;--rule: #F1EADF;--ink: #2B2140;--muted: #6E6577;--faint: #9C93A3;--teal: #3E8FA3;--rep-bg: #FCE6D8;--rep: #9A3F0E;--des-bg: #FFF1C2;--des: #7A5C00;--dom-bg: #DCF1E2;--dom: #1F6B40}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:var(--bg);color:var(--ink);font-family:Inter,system-ui,sans-serif;display:flex;min-width:1100px}a{color:var(--ink)}button{font:inherit;color:inherit}.muted{color:var(--muted)}.card{background:var(--card);border:1px solid var(--line);border-radius:14px}h1{margin:0;font-size:28px;font-weight:700;letter-spacing:-.01em}h2{margin:0;font-size:17px;font-weight:700}.num{text-align:right;font-variant-numeric:tabular-nums}nav#side{width:248px;flex:none;min-height:100vh;padding:28px 18px 22px;background:var(--side);display:flex;flex-direction:column;gap:26px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:0 6px}.brand img{width:40px;height:40px;display:block}.brand b{font-size:17px;display:block}.brand small{font-size:13px;color:var(--muted)}.label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:0 8px 8px}.kids,.pages{display:flex;flex-direction:column;gap:4px}.kids button{display:flex;align-items:center;gap:10px;padding:8px;border:0;border-radius:10px;background:transparent;font-size:15px;font-weight:500;cursor:pointer;text-align:left}.kids button[aria-pressed=true]{background:#fff;font-weight:700}.kids .ini{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex:none}.kids .age{margin-left:auto;font-size:13px;font-weight:500;color:var(--muted)}.pages a{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;font-size:15px;font-weight:600;text-decoration:none}.pages a[aria-current=page]{background:var(--ink);color:#fff}.pages a svg{width:18px;height:18px;flex:none}.status{margin-top:auto;padding:12px;border-radius:12px;background:#fff;font-size:13px;line-height:1.45;color:var(--muted)}.status b{display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:600}.status b:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--dot, #2E8B57)}.status button{margin-top:8px;padding:0;border:0;background:none;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;color:var(--ink)}main{flex:1;padding:32px 40px;display:flex;flex-direction:column;gap:20px;min-width:0}header.top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}header.top p{margin:4px 0 0;font-size:15px;color:var(--muted)}.seg{display:flex;gap:4px;padding:4px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:14px;font-weight:600}.seg button{padding:6px 12px;border:0;border-radius:7px;background:none;cursor:pointer}.seg button[aria-pressed=true]{background:var(--ink);color:#fff}.seg button:disabled{color:#c9bfb0;cursor:default}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat{padding:18px 20px}.stat .k{font-size:14px;font-weight:500;color:var(--muted)}.stat .v{font-size:34px;font-weight:700;margin-top:6px}.stat .v small{font-size:17px;font-weight:500;color:var(--muted)}.stat .d{font-size:14px;color:var(--muted);margin-top:8px}.week{display:flex;gap:6px;margin-top:10px}.week span{flex:1;height:8px;border-radius:4px;background:#efe6d8}.week-l{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:4px}.two{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:start}.col{display:flex;flex-direction:column;gap:16px}.pad{padding:20px 22px}.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}.chip.repasar,.chip.peor{background:var(--rep-bg);color:var(--rep)}.chip.despacio{background:var(--des-bg);color:var(--des)}.chip.domina{background:var(--dom-bg);color:var(--dom)}ul.findings{list-style:none;margin:8px 0 0;padding:0}ul.findings li{display:grid;grid-template-columns:160px 1fr auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--rule)}ul.findings li:last-child{border-bottom:0}ul.findings .t{font-size:16px;font-weight:600}ul.findings .s{font-size:14px;color:var(--muted);margin-top:2px}.empty{padding:18px 0;color:var(--muted);font-size:15px;line-height:1.5}.suggest{border:2px solid var(--ink)}.shadow{border:2px dashed var(--line)}.shadow-list{list-style:none;margin:10px 0 0;padding:0}.shadow-list li{padding:10px 0;border-top:1px solid var(--rule)}.shadow-list li:first-child{border-top:0}.shadow-list .t{font-weight:600;font-size:15px}.shadow-list .s{font-size:14px;line-height:1.45;margin-top:2px}.eyebrow{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.btn{padding:10px 16px;border-radius:10px;border:1px solid #DCD2C2;background:#fff;font-size:15px;font-weight:600;cursor:pointer}.btn.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.btn:disabled{opacity:.45;cursor:default}table{width:100%;border-collapse:collapse;font-size:14px}th,td{white-space:nowrap;padding:11px 10px;text-align:left;border-bottom:1px solid var(--rule)}th{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}tr:last-child td{border-bottom:0}.tabs{display:flex;gap:8px;flex-wrap:wrap}.tabs button{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:10px;font-size:15px;font-weight:600;border:1px solid var(--line);background:#fff;cursor:pointer;text-align:left}.tabs button small{font-size:12px;font-weight:500;color:var(--muted)}.tabs button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.tabs button[aria-pressed=true] small{color:#d9d2e6}.tabs button.none{color:var(--faint)}.row{display:grid;grid-template-columns:230px 1fr 64px 70px;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rule);font-size:14px}.row:last-child{border-bottom:0}.row .chip{font-size:12px;padding:3px 9px 3px 7px;margin-top:4px}.track{height:10px;border-radius:5px;background:var(--rule);position:relative}.bar{position:absolute;left:0;top:0;bottom:0;border-radius:5px;background:var(--teal)}.row.few{color:var(--faint)}.note{padding:12px 14px;border-radius:10px;background:var(--bg);font-size:14px;line-height:1.5;margin-top:14px}.chart{position:relative;margin-top:14px}.chart svg{display:block;width:100%;height:auto;font-family:Inter,system-ui,sans-serif;overflow:visible}.tip{position:absolute;pointer-events:none;background:var(--ink);color:#fff;border-radius:8px;padding:8px 12px;font-size:12px;white-space:nowrap;transform:translate(-50%,calc(-100% - 14px))}.tip b{display:block;font-size:17px}.tip[hidden]{display:none}.mv{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rule);font-size:14px}.mv:last-child{border-bottom:0}.ic{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700}.ic.earn,.ic.gift{background:#fff1c2;color:#7a5c00}.ic.spend{background:#ede6f5;color:#4b3a73}.vid{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rule)}.vid:last-child{border-bottom:0}.vid img{width:96px;height:54px;object-fit:cover;border-radius:8px;display:block;background:var(--rule)}#root{display:flex;flex:1;min-width:0;min-height:100vh}.side-out{display:flex;align-items:center;gap:12px;margin-top:-14px;padding:10px;border:0;border-radius:10px;background:none;font-size:15px;font-weight:600;cursor:pointer;text-align:left}.side-out:hover{background:#fff}.side-out svg{width:18px;height:18px;flex:none}.login-page{flex:1;display:flex;align-items:center;justify-content:center;min-height:100vh}.login{width:400px;padding:34px 36px 26px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px #2b21400f;display:flex;flex-direction:column;gap:18px;margin:0}.login .brand{padding:0;gap:12px}.login .brand img{width:48px;height:48px}.login .brand b{font-size:19px}.login .brand small{font-size:14px;font-weight:500}.login .notice{padding:10px 12px;border-radius:10px;background:var(--side);font-size:14px;font-weight:500;line-height:1.4}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:14px;font-weight:600}.field input,input.in{height:44px;padding:0 12px;border-radius:10px;border:1px solid #DCD2C2;background:#fff;font:inherit;font-size:15px;color:var(--ink)}.field input:disabled{background:var(--bg)}.field input.wrong{border:2px solid var(--ink)}.login button[type=submit]{height:46px;border-radius:10px;border:0;background:var(--ink);color:#fff;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}.login button[type=submit]:disabled{cursor:default}.login button[type=submit].off{opacity:.4}.login .msg{margin:0;min-height:40px;font-size:14px;line-height:1.4;color:var(--muted);display:flex;gap:8px;align-items:flex-start}.login .msg.warn{color:var(--rep)}.login .msg svg{flex:none;margin-top:2px}@keyframes spin{to{transform:rotate(360deg)}}.spin{animation:spin .9s linear infinite}.chip.st-mastered{background:var(--dom-bg);color:var(--dom)}.chip.st-open{background:#e1f0f3;color:#22606f}.chip.st-paused{background:var(--rep-bg);color:var(--rep)}.chip.st-closed{background:var(--rule);color:var(--muted)}.chip.st-off{background:none;color:var(--muted);box-shadow:inset 0 0 0 1px var(--rule)}.chip.mark{background:#ede6f5;color:#4b3a73}.acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(440px,1fr));gap:16px;align-items:start}.act-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.act-next{margin-top:6px;font-size:15px;line-height:1.45}.area-t{margin:16px 0 0;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.lad{display:flex;gap:4px;margin-top:8px}.lad span{flex:1;height:10px;border-radius:5px;background:#efe6d8}.lad .mastered{background:var(--teal)}.lad .open{background:#fff;box-shadow:inset 0 0 0 1.5px #b9c9cc}.lad .paused{background:repeating-linear-gradient(90deg,#f2b48f 0 4px,#fce6d8 4px 8px)}.lad .off{background:none;box-shadow:inset 0 0 0 1px #efe6d8;opacity:.6}.lad .now{background:#fff;box-shadow:inset 0 0 0 3px var(--ink)}.paso{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:start;padding:10px 0;border-bottom:1px solid var(--rule)}.paso:last-child{border-bottom:0}.paso .t{font-size:15px;font-weight:600}.paso .s{font-size:13px;line-height:1.45;color:var(--muted);margin-top:2px}.paso .tags{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.paso.is-next .t:after{content:"siguiente";margin-left:8px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;background:#ede6f7;padding:2px 6px;border-radius:5px;vertical-align:2px}.alert{padding:12px 14px;border-radius:10px;background:var(--rep-bg);color:var(--rep);font-size:14px;line-height:1.5}.banner{padding:12px 14px;border-radius:10px;background:var(--des-bg);color:var(--des);font-size:14px;line-height:1.5}.todo-list{list-style:none;margin:10px 0 0;padding:0}.todo-list li{padding:10px 0;border-top:1px solid var(--rule)}.todo-list li:first-child{border-top:0}.todo-list .t{font-weight:600;font-size:15px}.todo-list .s{font-size:14px;line-height:1.45;margin-top:2px}h2.sec{font-size:20px;margin-top:8px}.mrow{display:grid;grid-template-columns:1fr 390px;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--rule)}.mrow:last-child{border-bottom:0}.seg3{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border-radius:10px;background:var(--bg);border:1px solid var(--line)}.seg3 button{padding:8px 6px;border:0;border-radius:7px;background:none;cursor:pointer;font-size:13px;font-weight:600;min-height:36px}.seg3 button[aria-pressed=true]{background:var(--ink);color:#fff}.savebar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 -6px 20px #2b21400d;font-size:14px}.savebar .acts-r{display:flex;gap:10px;align-items:center}.savebar .err{color:var(--rep)}.savebar .ok{color:var(--dom)}.switch{width:44px;height:26px;border-radius:13px;border:0;position:relative;cursor:pointer;background:#d9cfbf;flex:none;padding:0}.switch[aria-checked=true]{background:var(--ink)}.switch:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:left .15s}.switch[aria-checked=true]:after{left:21px}.nums{display:flex;gap:14px;margin-top:12px}.nums .field{flex:1}.nums input{width:100%}.vid{grid-template-columns:96px 1fr auto}.add{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin-top:14px;padding-top:14px;border-top:1px solid var(--rule)}.add .hint{grid-column:1 / -1;font-size:13px;color:var(--muted);min-height:18px}.add .hint.warn{color:var(--rep)}.linkbtn{padding:6px 10px;border:1px solid transparent;border-radius:8px;background:none;font-size:14px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.linkbtn:hover{border-color:#dcd2c2}
