/* الحذف والمهملات (#/removals): one card a request, the rest behind a tap. */
/* The page uses the whole width: its button at the head's far edge in both languages, its empty line centred on the page. */
.rm-page { max-width: none; }
.rm-tabs { margin: 0 0 16px; flex-wrap: wrap; }
.rm-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.rm-n { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 99px; background: var(--ui-line); color: var(--ui-ink-2); font-size: 11px; line-height: 18px; text-align: center; }
.rm-tabs button.on .rm-n { background: rgba(255, 255, 255, .22); color: #fff; }
.rm-card { padding: 12px 16px; margin: 0 0 10px; }
.rm-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rm-what { min-width: 0; }
.rm-what b { display: block; overflow-wrap: anywhere; }
.rm-why { margin: 8px 0 0; color: var(--ui-ink-2); line-height: 1.6; }
.rm-acts { margin: 10px 0 2px; gap: 8px; flex-wrap: wrap; }
.rm-card details.more { margin: 8px 0 0; }
.rm-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0 0 8px; font-size: 13px; }
.rm-dl dt { color: var(--ui-muted); }
.rm-dl dd { margin: 0; overflow-wrap: anywhere; }
.rm-story { margin: 0; padding: 0 18px 0 0; font-size: 12.5px; color: var(--ui-ink-2); line-height: 1.8; }
.rm-words { font-weight: 700; margin: 2px 0 6px; }
.rm-danger { margin: 24px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--ui-line-2); }
.rm-danger .hint { margin-top: 6px; font-size: 11.5px; color: var(--ui-muted); }
@media (max-width: 600px) { .rm-top { flex-direction: column; gap: 6px; } }
/* On a phone the four tabs wrap rather than hiding «Trash» off the edge. */
@media (max-width: 760px) { #view .seg.rm-tabs { flex-wrap: wrap; overflow: visible; border-radius: 18px; } }
