#past-weak-topics-modal{position:fixed;inset:0;z-index:171;background:#020617bf;backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:.75rem;overflow:hidden;overscroll-behavior:none;touch-action:none}#past-weak-topics-modal.hidden{display:none!important}.pwt-panel{width:min(96vw,44rem);max-height:80vh;height:80vh;background:linear-gradient(165deg,#0f172a,#1e293b 55%,#0f172a);border:1px solid rgba(148,163,184,.25);border-radius:1.35rem;box-shadow:0 30px 80px #00000073;display:flex;flex-direction:column;overflow:hidden;color:#e2e8f0;overscroll-behavior:contain;touch-action:auto}.pwt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem .85rem;border-bottom:1px solid rgba(148,163,184,.18);flex:0 0 auto}.pwt-head h3{font-size:1.05rem;font-weight:900;color:#fff;margin:0}.pwt-head p{font-size:.72rem;color:#94a3b8;margin:.35rem 0 0;line-height:1.4}.pwt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.65rem 1.15rem;border-bottom:1px solid rgba(148,163,184,.12);background:#0f172a73;flex:0 0 auto}.pwt-sort{display:inline-flex;align-items:center;gap:.45rem;font-size:.68rem;font-weight:700;color:#94a3b8}.pwt-sort select{background:#0f172ae6;border:1px solid rgba(148,163,184,.28);color:#e2e8f0;border-radius:.55rem;padding:.35rem .55rem;font-size:.7rem;font-weight:700;cursor:pointer}.pwt-body{flex:1 1 0;min-height:0;max-height:none;height:auto;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:.75rem 1.1rem 1.35rem;display:block}.pwt-pack{border:1px solid rgba(148,163,184,.18);border-radius:1rem;background:#0f172ab8;overflow:visible;margin-bottom:.75rem}.pwt-pack:last-child{margin-bottom:.25rem}.pwt-pack-head{width:100%;text-align:left;cursor:pointer;padding:.9rem 1rem;background:transparent;border:0;color:inherit;display:flex;flex-direction:column;gap:.55rem}.pwt-pack-title-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.pwt-pack-title{font-size:.9rem;font-weight:900;color:#f8fafc;line-height:1.3}.pwt-pack-title .pwt-pct-inline{color:#fbbf24;font-weight:900;margin-left:.35rem}.pwt-pack-meta{font-size:.65rem;color:#94a3b8;font-weight:700}.pwt-pack-chevron{color:#94a3b8;transition:transform .15s;flex-shrink:0}.pwt-pack.is-open .pwt-pack-chevron{transform:rotate(180deg)}.pwt-progress{display:grid;grid-template-columns:1fr auto;gap:.45rem .65rem;align-items:center}.pwt-progress-bar{height:.5rem;border-radius:999px;background:#94a3b833;overflow:hidden}.pwt-progress-bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#34d399);width:var(--p, 0%);max-width:100%;transition:width .25s ease}.pwt-progress-label{font-size:.7rem;font-weight:800;color:#fbbf24;white-space:nowrap}.pwt-pack-body{display:none;padding:0 .85rem .95rem}.pwt-pack.is-open .pwt-pack-body{display:block}.pwt-local-filter{display:inline-flex;align-items:center;gap:.5rem;margin:.15rem 0 .75rem;padding:.45rem .65rem;border-radius:.65rem;background:#f59e0b14;border:1px solid rgba(245,158,11,.22);font-size:.7rem;font-weight:700;color:#fde68a;cursor:pointer;user-select:none}.pwt-local-filter input{accent-color:#f59e0b;width:.95rem;height:.95rem}.pwt-subject{margin-bottom:.65rem;border:1px solid rgba(148,163,184,.14);border-radius:.75rem;background:#1e293b8c;overflow:hidden}.pwt-subject-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .7rem;border-bottom:1px solid rgba(148,163,184,.1)}.pwt-subject-title{font-size:.75rem;font-weight:900;letter-spacing:.02em}.pwt-subject-pct{font-size:.68rem;font-weight:800;color:#94a3b8;white-space:nowrap}.pwt-subject-bar{height:.28rem;background:#94a3b826;border-radius:999px;margin:0 .7rem .35rem;overflow:hidden}.pwt-subject-bar>span{display:block;height:100%;border-radius:inherit;width:var(--p, 0%);background:var(--c, #64748b)}.pwt-item{display:flex;align-items:flex-start;gap:.55rem;padding:.5rem .7rem;border-top:1px solid rgba(148,163,184,.08);font-size:.74rem;color:#cbd5e1;line-height:1.35;cursor:pointer;width:100%;text-align:left;background:transparent;border-left:0;border-right:0;border-bottom:0}.pwt-item:hover{background:#94a3b80f}.pwt-item.is-done{opacity:.72}.pwt-item.is-done .pwt-item-text{text-decoration:line-through}.pwt-item-check{width:1.15rem;height:1.15rem;border-radius:.3rem;margin-top:.1rem;flex-shrink:0;border:1.5px solid #64748b;display:grid;place-items:center;font-size:.55rem;color:transparent;background:#0f172a80}.pwt-item.is-done .pwt-item-check{background:#059669;border-color:#059669;color:#fff}.pwt-item input.pwt-cb{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.pwt-item-tier{display:inline-block;margin-left:.35rem;font-size:.58rem;font-weight:800;text-transform:uppercase;color:#f87171}.pwt-item-tier.is-orta{color:#fbbf24}.pwt-late-badge{display:inline-flex;align-items:center;gap:.25rem;margin-top:.3rem;padding:.15rem .45rem;border-radius:999px;font-size:.58rem;font-weight:800;letter-spacing:.02em;color:#fdba74;background:#ea580c2e;border:1px solid rgba(251,146,60,.35)}.pwt-empty{text-align:center;color:#94a3b8;font-size:.82rem;padding:2rem 1rem}
