

/* native colour boxes were square next to the round swatches */
input[type="color"] { border-radius: 10px; padding: 2px; }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 7px; }
input[type="color"]::-moz-color-swatch { border: 0; border-radius: 7px; }
/* the custom role colour sits in the row of round swatches, so it is round too */
#rd-color { width: 34px !important; border-radius: 50% !important; padding: 0; overflow: hidden; }
#rd-color::-webkit-color-swatch { border-radius: 50%; }
/* Arabic layout: "@everyone" showed as "everyone@" in the role list because the name took the page direction */
.rl-name { unicode-bidi: plaintext; }
/* tiny close and arrow buttons got a touch area of at least 40 px without changing how they look */
@media (pointer: coarse) {
  .mb-x, .toast-x, .rl-mv .icon-btn { position: relative; }
  .mb-x::after, .toast-x::after, .rl-mv .icon-btn::after { content: ''; position: absolute; inset: -9px -8px; }
}
/* account rows: buttons such as "Resend link" wrapped onto two lines on a phone */
.acc-f .btn, .acc-f button, .acc-fields .btn { white-space: nowrap; }
.acc-f { flex-wrap: wrap; gap: 8px 12px; }
