@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-var.woff2) format('woff2')}
:root{--bg:#f4f7f5;--card:#fff;--txt:#14241b;--mut:#3d4d44;--lin:#d3e0d7;--verde:#145a2c;--verde2:#0f4a24;--verde-claro:#e8f7ee;--ouro:#7c3305;--ouro-bg:#fff7e6;--azul:#1e3a8a;--sombra:0 1px 2px rgba(20,60,35,.06),0 8px 24px rgba(20,60,35,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--txt);font:16px/1.55 Inter,system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
h1,h2,h3,p{margin:0}[hidden]{display:none!important}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--azul);outline-offset:2px}
.wrap{max-width:980px;margin:0 auto;padding:18px 16px 60px}
.top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.brand{font-size:1rem}.back{color:var(--verde);font-weight:700}
.hero{display:flex;gap:26px;align-items:center;background:var(--card);border:1px solid var(--lin);border-radius:20px;padding:22px 26px;box-shadow:var(--sombra);margin-bottom:16px}
.hero h1{font-size:1.6rem;line-height:1.2;margin-bottom:6px}.hero p{color:var(--mut);max-width:62ch}
.ring{position:relative;width:132px;height:132px;flex:none}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring .bg{stroke:var(--lin)}.ring .fg{stroke:var(--verde);stroke-linecap:round;transition:stroke-dashoffset .5s}
.ring .num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring strong{font-size:1.9rem;line-height:1}.ring span{font-size:.78rem;color:var(--mut)}
.stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.stat{background:var(--bg);border-radius:14px;padding:8px 16px;min-width:110px}.stat strong{display:block;font-size:1.5rem;line-height:1.1}.stat span{font-size:.8rem;color:var(--mut)}
.stat.ok strong{color:var(--verde)}.stat.work strong{color:var(--ouro)}
.controls{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.search{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--lin);border-radius:12px;font:inherit;background:var(--card)}
.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--lin);background:var(--card);font:inherit;font-weight:600;cursor:pointer;color:var(--txt)}
.chip small{margin-left:6px;color:var(--mut)}.chip.on{background:var(--verde);border-color:var(--verde);color:#fff}.chip.on small{color:#dcfce7}
.cat{background:var(--card);border:1px solid var(--lin);border-radius:18px;margin-bottom:12px;box-shadow:var(--sombra);overflow:hidden}
.cat-head{width:100%;display:flex;align-items:center;gap:14px;padding:14px 18px;background:none;border:0;font:inherit;text-align:left;cursor:pointer;color:var(--txt)}
.cat-ico{width:42px;height:42px;border-radius:12px;background:var(--verde-claro);display:grid;place-items:center;font-size:1.3rem;flex:none}
.cat-info{flex:1;min-width:0}.cat-info h2{font-size:1.02rem;margin-bottom:6px}
.bar{height:7px;background:var(--lin);border-radius:99px;overflow:hidden}.bar i{display:block;height:100%;width:0;background:var(--verde);border-radius:99px}
.cat-count{font-weight:800;color:var(--mut)}.caret{transition:transform .2s}.cat.closed .caret{transform:rotate(-90deg)}.cat.closed .items{display:none}.cat.complete .cat-count{color:var(--verde)}
.items{padding:2px 18px 14px}
.item{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--lin)}
.check{position:relative;flex:none;width:30px;height:30px;margin-top:2px;cursor:pointer}.check input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.check span{display:grid;place-items:center;width:100%;height:100%;border:2px solid #b7c7bd;border-radius:9px;background:#fff}.check svg{width:18px;height:18px;stroke:#fff;opacity:0}
.check input:checked+span{background:var(--verde);border-color:var(--verde)}.check input:checked+span svg{opacity:1}.check input:focus-visible+span{outline:3px solid var(--azul);outline-offset:2px}
.body{min-width:0;flex:1}.body h3{font-size:1rem;line-height:1.35}.body h3 .n{color:var(--mut);font-weight:600;margin-right:8px;font-size:.8rem}
.body p{color:var(--mut);font-size:.92rem;margin-top:2px}.item.done h3{color:var(--mut);text-decoration:line-through}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;align-items:center}
.tag{font-size:.74rem;font-weight:700;padding:2px 10px;border-radius:999px;background:var(--bg);color:var(--mut)}
.tag.doing{background:var(--ouro-bg);color:var(--ouro)}.tag.done{background:var(--verde-claro);color:var(--verde)}
.tag.r1{background:#e8f7ee;color:#14532d}.tag.r2{background:#eaf1ff;color:#1e3a8a}.tag.r3{background:#fff7e6;color:#7c3305}.tag.r4{background:#f3edff;color:#4c1d95}.tag.r5{background:#e0f5f1;color:#0f4f4b}.tag.r6{background:#fdecec;color:#991b1b}
.work-btn{min-height:32px;padding:0 12px;border:1px solid var(--lin);border-radius:999px;background:var(--card);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer;color:var(--txt)}
.work-btn:hover{background:var(--ouro-bg)}
.empty{text-align:center;color:var(--mut);padding:30px}
.foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px;color:var(--mut);font-size:.88rem}
.reset{min-height:40px;padding:0 14px;border:1px solid var(--lin);border-radius:12px;background:var(--card);font:inherit;cursor:pointer;color:var(--txt)}
@media (max-width:640px){.hero{flex-direction:column;text-align:center;padding:18px}.stats{justify-content:center}.hero h1{font-size:1.35rem}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}html{scroll-behavior:auto}}
@media print{.controls,.reset,.back{display:none}.cat.closed .items{display:block}}
