/* /practice: filters and a list of problems. Hairlines, not fills; one fade-in; reduced motion honoured. Loaded after paths.css. */
.pr-tools { display: grid; gap: 14px; margin: 32px 0 6px; }
.pr-search { display: flex; flex-direction: column; gap: 6px; max-width: 460px; }
.pr-search span, .pr-fl { color: var(--faint); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.pr-search input { padding: 12px 18px; border: 1px solid var(--rule2); border-radius: 999px; background: var(--panel); color: var(--text); font: 15px var(--sans); }
.pr-search input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pr-fg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pr-fl { min-width: 54px; }
.pr-f { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--rule2); border-radius: 999px; background: none; color: var(--muted); font: 600 13px var(--sans); cursor: pointer; transition: border-color .2s, color .2s; }
.pr-f span { color: var(--faint); font: 11px var(--mono); }
.pr-f:hover, .pr-f:focus-visible { border-color: var(--brand); color: var(--text); }
.pr-f.is-on { border-color: var(--brand); color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); }
.pr-count { margin: 22px 0 8px; color: var(--muted); font: 13px var(--mono); } .pr-finished { color: var(--brand2); }

.pr-list { list-style: none; margin: 0; padding: 0; }
.pr-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 18px; align-items: start; padding: 20px 0; border-top: 1px solid var(--rule); }
.pr-item[hidden] { display: none; }
.pr-n { padding-top: 3px; color: var(--faint); font: 600 13px var(--mono); }
.pr-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--faint); font: 12px var(--mono); }
.pr-kind { color: var(--brand2); font-weight: 600; }
.pr-lvl::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--faint); }
.pr-easy::before { background: var(--brand3); } .pr-medium::before { background: var(--brand2); } .pr-hard::before { background: var(--brand); }
.pr-done { color: var(--brand); font-weight: 600; }
.pr-title { display: block; margin-top: 6px; font: 600 1.15rem/1.3 var(--display); letter-spacing: -.025em; }
.pr-sum { margin: 6px 0 0; max-width: 56em; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.pr-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.pr-tags li { padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--faint); font: 11px var(--mono); }
.pr-act { padding-top: 2px; text-align: right; white-space: nowrap; }
.pr-go { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--brand); border-radius: 999px; color: var(--text); font: 600 13px var(--sans); text-decoration: none; transition: transform .2s, background .2s; }
.pr-go:hover, .pr-go:focus-visible { transform: translateY(-1px); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.pr-soon { color: var(--faint); font: 12px var(--mono); }
.pr-item.is-finished .pr-title { color: var(--brand2); }
.pr-empty { margin: 24px 0; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) { .pr-item { animation: pr-in .4s ease both; } @keyframes pr-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } } }
@media (max-width: 720px) { .pr-item { grid-template-columns: 30px minmax(0, 1fr); } .pr-act { grid-column: 2; text-align: left; } .pr-fl { min-width: 100%; } }
