/* Закладка «Демо» (только владелец). Экран 360x640, обе темы: цвета только из переменных приложения. */
.mnav button[hidden] { display: none; }
.dm-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.dm-sc { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.dm-n { font-size: 30px; line-height: 1; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.dm-sc.up .dm-n { color: #2fbf5b; }
.dm-sc.down .dm-n { color: var(--red-hi); }
.dm-sc.wait .dm-n { color: var(--orange); }
.dm-card { margin: 0 0 14px; padding: 14px 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-left: 4px solid var(--orange); }
.dm-card.up { border-left-color: #2fbf5b; }
.dm-card.down { border-left-color: var(--red); }
.dm-card.done { opacity: .75; }
.dm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dm-title { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.dm-badge { flex: none; padding: 4px 8px; border-radius: 8px; background: var(--surface2); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.dm-date { margin: 2px 0 6px; font-size: 12.5px; color: var(--muted); }
.dm-h { margin: 10px 0 4px; font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.dm-p { margin: 0; font-size: 15.5px; line-height: 1.4; }
.btn.dm-open { width: 100%; min-height: 48px; margin-top: 12px; font-size: 17px; }
.dm-votes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.btn.dm-v { min-height: 56px; font-size: 28px; background: var(--surface2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.dm-v.up.on { background: #1f9d4b; box-shadow: none; }
.btn.dm-v.down.on { background: #d92d34; box-shadow: none; }
.dm-text { width: 100%; box-sizing: border-box; margin-top: 10px; padding: 10px; font: inherit; font-size: 16px; line-height: 1.35; color: var(--text); background: var(--surface2); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); resize: vertical; }
.dm-text:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.dm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.btn.dm-mic, .btn.dm-save { min-height: 48px; font-size: 16px; }
.dm-msg { min-height: 22px; margin-top: 6px; font-size: 16px; font-weight: 800; text-align: center; }
.dm-msg.ok { color: #2fbf5b; }
.dm-msg.bad { color: var(--red-hi); }
.dm-empty { padding: 24px 8px; text-align: center; color: var(--muted); font-size: 16px; }
.dm-empty.bad { color: var(--red-hi); }
.dm-done > summary { margin: 4px 0 12px; padding: 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; cursor: pointer; }
