/* The WebSaite Demos page (/websaite-demos/): on top of ../editor.css, the list of the catalog's cards and its filters. */
.dm-card { margin-top: 16px; }
.dm-filters { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 28rem; }
.dm-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.dm-entry { border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow-wrap: anywhere; }
.dm-entry.is-hidden { border-style: dashed; }
.dm-entry.is-hidden .dm-name { opacity: .6; }
.dm-head { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; }
.dm-head .what { flex: 1 1 240px; min-width: 0; }
.dm-name { font-weight: 600; font-size: 1.02rem; }
.dm-meta { color: var(--muted); font-size: .88rem; margin: 2px 0 0; }
.dm-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dm-actions a { font-size: .88rem; }
.dm-edit { display: grid; gap: 4px 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 8px; }
.dm-edit .field > .row { flex-wrap: nowrap; }
.dm-edit .field > .row > select, .dm-edit .field > .row > input { flex: 1 1 auto; }
.dm-edit .field > .row > button { flex: 0 0 auto; }
.dm-edit .base { color: var(--muted); font-size: .8rem; margin: 2px 0 0; }
.dm-save { margin-top: 8px; }
.chip { display: inline-block; max-width: 100%; font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; margin: 2px 4px 2px 0; color: var(--muted); overflow-wrap: anywhere; }
.chip.on { color: var(--green); border-color: rgba(34, 177, 76, .5); }
.chip.bad { color: var(--red); border-color: rgba(240, 57, 47, .5); }
.chip.warn { color: var(--yellow); border-color: rgba(242, 201, 76, .5); }
