.cat-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cat-list button { width: 100%; justify-content: space-between; }
.cat-list .cur button { border-color: var(--accent); }
.cat-list small { color: var(--muted); font-family: var(--mono); }
.file-btn { align-self: flex-start; }

.cat-title { font-family: var(--display); font-weight: 800; font-size: 22px; flex: 1; min-width: 0; }
.dirty { align-self: center; color: var(--gold-ink); font-size: 13px; }

.questions { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: q; }
.qe { background: var(--bg); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; counter-increment: q; }
.qe-head { display: flex; align-items: center; gap: 8px; }
.qe-head::before { content: counter(q); font-family: var(--mono); color: var(--accent); min-width: 26px; }
.qe-head .type { font-size: 13px; color: var(--muted); }
.qe-head .tools { margin-left: auto; display: flex; gap: 4px; }
.qe textarea { width: 100%; min-height: 58px; resize: vertical; }
.qe .opts { list-style: none; padding: 0; display: grid; gap: 6px; }
.qe .opt { display: grid; grid-template-columns: auto auto 1fr auto; gap: 8px; align-items: center; }
.qe .opt .l { font-family: var(--mono); color: var(--accent); width: 18px; }
.qe .opt input[type=text] { width: 100%; }
.qe .opt input[type=radio] { width: 18px; height: 18px; accent-color: var(--green); }
.qe .meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 14px; }
.qe .meta .answer { flex: 1; min-width: 220px; }
.qe .hint { font-size: 13px; color: var(--muted); }
.qe .warn { font-size: 13px; color: var(--red); }
