.card { background: var(--clr-surface); border-radius: var(--radius); padding: 1rem; box-shadow: 0 1px 3px rgba(18, 48, 46, .08); display: grid; gap: .9rem; }
.card p { margin: 0; }
.muted { color: var(--clr-muted); font-size: .88rem; margin: 0; }
.info { margin: 0; padding: .75rem 1rem; border-radius: var(--radius); background: #FCF3E3; color: #5A4010; font-size: .9rem; }
.info a { color: inherit; }
.field { display: grid; gap: .4rem; }
.field__label { font-weight: 700; }
#q, #topic { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1.5px solid var(--clr-border); border-radius: 12px; background: #fff; }
#topic { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5E59' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right .7rem center / 20px; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; }
.row .btn { flex: 1 1 10rem; }
.btn[aria-pressed="true"] { background: var(--clr-base-strong); border-color: var(--clr-base-strong); color: #fff; }
.count:empty { display: none; }

.list { display: grid; gap: .75rem; }
.art { display: grid; grid-template-columns: 1fr auto; gap: .25rem .5rem; align-items: start; background: var(--clr-surface); border-radius: var(--radius); padding: .9rem .9rem .9rem 1rem; box-shadow: 0 1px 3px rgba(18, 48, 46, .08); }
.art__body { display: grid; gap: .3rem; min-width: 0; color: inherit; text-decoration: none; }
.art__title { font-family: var(--font-heading); font-size: 1.1rem; line-height: 1.25; color: var(--clr-dark); }
.art__body:hover .art__title { text-decoration: underline; }
.art__meta { font-size: .8rem; color: var(--clr-muted); }
.art__text { font-size: .9rem; color: var(--clr-muted); }
.art__save { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--clr-bg); color: var(--clr-base-strong); cursor: pointer; }
.art__save svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.art__save[aria-pressed="true"] { background: var(--clr-base-strong); color: #fff; }
.art__save[aria-pressed="true"] svg { fill: currentColor; }
.more { justify-self: center; }

.data summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.data__actions { display: grid; gap: .6rem; margin: .5rem 0; }
.data__actions .btn { width: 100%; }
.status { color: var(--clr-base-strong); font-weight: 600; }
.status:empty { display: none; }
