:root{--bg:#0a0a0a;--surface:#161618;--muted:#8e8e93;--accent:#ff6b1a;--accent2:#ff9a3d;--white:#fefefe}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--white);min-height:100vh;font-family:Montserrat,system-ui,sans-serif}h1,h2,h3,.brand{letter-spacing:.02em;font-family:Rajdhani,Montserrat,sans-serif}.brand{color:var(--accent);margin:0}.brand.small{font-size:1.3rem;line-height:1}.sub,.muted{color:var(--muted)}.center{flex-direction:column;justify-content:center;align-items:center;gap:.5rem;min-height:100vh;padding:1rem;display:flex}.login{max-width:360px;margin:0 auto}.logo{background:linear-gradient(135deg, var(--accent), var(--accent2));width:56px;height:56px;color:var(--bg);border-radius:16px;justify-content:center;align-items:center;margin-bottom:.25rem;font-family:Rajdhani,sans-serif;font-size:1.5rem;font-weight:700;display:flex}.logo.small{border-radius:10px;width:34px;height:34px;margin:0;font-size:1rem}.card{background:var(--surface);border:1px solid #ffffff14;border-radius:14px;flex-direction:column;gap:.75rem;width:100%;margin:.75rem 0;padding:1.1rem;display:flex}label{color:var(--muted);flex-direction:column;gap:.3rem;font-size:.85rem;display:flex}input,select{color:var(--white);background:#ffffff0f;border:1px solid #ffffff26;border-radius:10px;padding:.8rem;font-family:inherit;font-size:1rem}input:focus,select:focus{outline:2px solid var(--accent);border-color:#0000}button{cursor:pointer;border:none;border-radius:12px;font-family:inherit;font-size:1rem}button:active{transform:scale(.98)}.primary{background:var(--accent);color:var(--bg);padding:.9rem;font-weight:700}.ghost{color:var(--accent);background:0 0;border:1px solid #ff6b1a66;padding:.55rem .9rem}.ghost.full,.primary.full{width:100%;margin:.5rem 0}.full{width:100%}.error{color:#ff7b7b;font-size:.85rem}.ok{color:#7bffa0;font-size:.85rem}.codigo{letter-spacing:1px;background:#ffffff14;border-radius:6px;padding:.15rem .4rem;font-family:monospace}.link{color:var(--accent);background:0 0;margin-top:1rem;font-size:.9rem;text-decoration:underline}.member-list{flex-direction:column;gap:.5rem;margin:.75rem 0 0;padding:0;list-style:none;display:flex}.member{background:var(--surface);width:100%;color:var(--white);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;gap:.75rem;padding:.9rem;display:flex}.member-info{flex-direction:column;gap:.15rem;display:flex}.member-info small{color:var(--muted)}.member-meta{color:var(--accent);font-size:.85rem}.app{max-width:720px;margin:0 auto;padding-bottom:3rem}.topbar{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a0a0aeb;justify-content:space-between;align-items:center;padding:.8rem 1rem;display:flex;position:sticky;top:0}.topbar-title{align-items:center;gap:.6rem;display:flex}.ciclo{color:var(--accent);font-size:.78rem;display:inline-block}.tabs{gap:.25rem;margin:.5rem 0;padding:0 .75rem;display:flex;overflow-x:auto}.tab{min-width:max-content;color:var(--muted);background:0 0;border-radius:999px;flex:1;padding:.6rem .9rem;font-weight:600}.tab.active{background:var(--accent);color:var(--bg)}.content{padding:0 .9rem}.daybar{gap:.4rem;padding:.25rem 0 .5rem;display:flex;overflow-x:auto}.day{background:var(--surface);color:var(--muted);text-transform:capitalize;white-space:nowrap;border-radius:999px;padding:.6rem 1rem;font-weight:600}.day.active{background:var(--accent);color:var(--bg)}.day-head{flex-wrap:wrap;align-items:center;gap:.75rem;margin:.6rem 0;display:flex}.day-head-title{flex-direction:column;display:flex}.day-head-title h2{text-transform:capitalize;margin:0}.prog{color:var(--muted);font-size:.85rem}.done-btn{background:var(--surface);color:var(--muted);margin-left:auto;padding:.6rem 1rem;font-weight:600}.done-btn.is-done{color:var(--accent);background:#ff6b1a2e}.progressbar{background:#ffffff14;border-radius:999px;height:6px;margin-bottom:.6rem;overflow:hidden}.progressbar-fill{background:linear-gradient(90deg, var(--accent), var(--accent2));border-radius:999px;height:100%;transition:width .3s}.exlist{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.ex{background:var(--surface);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.ex.done{opacity:.78}.ex-main{color:var(--white);text-align:left;background:0 0;border-radius:0;align-items:center;gap:.75rem;padding:.85rem;display:flex}.ex-check{border:2px solid var(--accent);width:30px;height:30px;color:var(--accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex}.ex.done .ex-check{background:var(--accent);color:var(--bg)}.ex-info{flex-direction:column;flex:1;gap:.15rem;display:flex}.ex-info small{color:var(--muted)}.ex-meta{flex-direction:column;align-items:flex-end;gap:.15rem;display:flex}.ex-meta strong{color:var(--accent)}.ex-meta small{color:var(--muted)}.ex-actions{border-top:1px solid #ffffff0f;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.5rem .75rem;display:flex}.winput{min-width:58px;color:var(--white);background:#ffffff0f;border:1px solid #ffffff26;border-radius:8px;flex:1;padding:.45rem .6rem;font-family:inherit;font-size:.9rem}.winput:focus{outline:2px solid var(--accent);border-color:#0000}.inc{color:var(--muted);white-space:nowrap;background:#ffffff14;border-radius:8px;padding:.45rem .6rem;font-size:.8rem}.inc.is-on{color:#ffc49e;background:#ff8a3d4d}.mini{color:var(--white);background:#ffffff14;border-radius:8px;padding:.45rem .6rem;font-size:.85rem}.mini:disabled{opacity:.35}.reorder{gap:.2rem;display:flex}.rename-form{align-items:center;gap:.4rem;display:flex}.rename-form input{flex:1;padding:.5rem}.day-actions{align-items:center;gap:.4rem;display:flex}.edit-hint{color:var(--muted);font-size:.8rem;font-weight:400}.row2{gap:.5rem;display:flex}.row2>*{flex:1}.sup-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.sup button{text-align:left;background:var(--surface);width:100%;color:var(--white);border-radius:14px;padding:.9rem 1rem;font-weight:600}.sup.on button{color:var(--accent);background:#ff6b1a26}.kpi-grid{grid-template-columns:repeat(2,1fr);gap:.5rem;margin-bottom:.75rem;display:grid}.kpi{background:var(--surface);text-align:center;border-radius:14px;padding:1rem}.kpi strong{color:var(--accent);font-family:Rajdhani,sans-serif;font-size:1.7rem;display:block}.kpi small{color:var(--muted)}.chart-card{background:var(--surface);border:1px solid #ffffff14;border-radius:14px;margin:.75rem 0;padding:1rem}.chart-card h3{margin:0 0 .5rem}.chart-box{width:100%;height:220px}.seg{width:100%;color:var(--white);background:#ffffff0f;border:1px solid #ffffff26;border-radius:10px;margin-bottom:.5rem;padding:.6rem;font-family:inherit;font-size:.9rem}.seg option{background:var(--surface)}.pr-list{margin:0;padding:0;list-style:none}.pr-list li{border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:baseline;padding:.6rem 0;display:flex}.pr-name{color:var(--white)}.pr-val{color:var(--accent);font-weight:600}.pr-val small{color:var(--muted);font-weight:400}.row3{grid-template-columns:repeat(3,1fr);gap:.5rem;display:grid}.row3>label{min-width:0}.row3 input,.row3 select{width:100%;min-width:0;max-width:100%}@media (width<=480px){.row3{grid-template-columns:1fr 1fr}}.spacer{height:1rem}h3{margin:0 0 .5rem}.avatar-img{border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block}.logo.small{overflow:hidden}.avatar-upload{align-items:center;gap:.9rem;margin:.25rem 0 .5rem;display:flex}.avatar-preview{background:linear-gradient(135deg, var(--accent), var(--accent2));width:64px;height:64px;color:var(--bg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-family:Rajdhani,sans-serif;font-size:1.3rem;font-weight:700;display:flex;overflow:hidden}.avatar-preview img{object-fit:cover;width:100%;height:100%}.avatar-pick{cursor:pointer;color:var(--accent);border:1px solid #ff6b1a66;border-radius:10px;align-items:center;gap:.3rem;padding:.55rem .9rem;font-size:.9rem;display:inline-flex}.rest-timer{border-top:1px solid #ffffff0f;flex-wrap:wrap;align-items:center;gap:.45rem;padding:.55rem .75rem;display:flex}.rest-label{color:var(--muted);margin-right:.2rem;font-size:.8rem}.rest-btn{color:var(--white);background:#ffffff14;border-radius:8px;padding:.4rem .65rem;font-size:.82rem}.rest-btn.active{background:var(--accent);color:var(--bg)}.rest-clock{color:var(--accent);text-align:center;min-width:58px;font-family:Rajdhani,sans-serif;font-size:1.2rem;font-weight:700}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.winput[readonly]{opacity:.55}.inc[disabled]{opacity:.4;cursor:not-allowed}
