/* Mailbox UI for the webmail app — injected by nginx, independent of the theme
   system. Companion to login.css (sign-in screen). Design: preview-app.html v6.

   Rules target the app's own markup (#rl-left, .b-folders, .messageListItem,
   #V-PopupsCompose ...). Every rule carries #rl-app because the app's stylesheet
   loads AFTER this file and wins ties otherwise.

   Icons: the app draws its glyphs with the "snappymail" icon font (.fontastic,
   [data-icon]::before, .icon-*). Nothing of that is removed. Each glyph is set to
   font-size 0 and an SVG (the preview's Lucide-style set) is drawn in its place
   with a CSS mask, so reverting is just dropping this file from the injection. */

/* ============================================================ tokens */
:root {
  --ui-bg:#ffffff; --ui-panel:#fcfcfd; --ui-ink:#111827; --ui-muted:#6b7280; --ui-faint:#9ca3af;
  --ui-line:rgb(17 24 39 / .08); --ui-hover:#f3f4f6; --ui-active:#f3f4f6;
  --ui-accent:#111827; --ui-accent-ink:#ffffff; --ui-avatar:#d5ff66; --ui-avatar-ink:#172000;
  --ui-unread:#08b89d; --ui-warn-bg:#fff7ed; --ui-warn:#9a3412; --ui-danger:#dc2626;
  --ui-rail:264px; --ui-rail-min:68px; --ui-head:64px; --ui-row:38px;

  /* the app's own tokens, re-pointed */
  --unread-count-bg-color:#e5e7eb; --unread-count-color:#374151;
  --dropdown-menu-bg-color:var(--ui-bg); --dropdown-menu-color:var(--ui-ink);
  --dropdown-menu-hover-bg-color:var(--ui-hover); --dropdown-menu-hover-color:var(--ui-ink);
  --panel-bg-clr:var(--ui-bg); --border-color:var(--ui-line); --message-header-bg-clr:var(--ui-bg);
  --message-list-toolbar-bg-color:var(--ui-bg); --folders-color:var(--ui-ink); --border-radius:12px;

  /* icon set: stroke paths; colour comes from the element through the mask */
  --i-inbox:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E");
  --i-send:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
  --i-file:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v5h5'/%3E%3C/svg%3E");
  --i-spam:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.29 3.86-8.47 14.14A2 2 0 0 0 3.53 21h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
  --i-trash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2m3 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3C/svg%3E");
  --i-folder:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z'/%3E%3C/svg%3E");
  --i-folder-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z'/%3E%3Cpath d='M12 11v6M9 14h6'/%3E%3C/svg%3E");
  --i-sliders:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3Ccircle cx='9' cy='6' r='2'/%3E%3Ccircle cx='15' cy='12' r='2'/%3E%3Ccircle cx='8' cy='18' r='2'/%3E%3C/svg%3E");
  --i-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --i-contacts:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4Z'/%3E%3Ccircle cx='11' cy='10' r='2.2'/%3E%3Cpath d='M8 16a3 3 0 0 1 6 0M18 8h3M18 12h3M18 16h3'/%3E%3C/svg%3E");
  --i-refresh:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 15-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-15 6.7L3 16'/%3E%3Cpath d='M3 21v-5h5'/%3E%3C/svg%3E");
  --i-panel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9 3v18'/%3E%3C/svg%3E");
  --i-archive:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='5' rx='1'/%3E%3Cpath d='M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8M10 12h4'/%3E%3C/svg%3E");
  --i-notspam:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  --i-more:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
  --i-sort:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5h10M11 9h7M11 15h10M11 19h7M3 5l2-2 2 2M5 3v8M3 19l2 2 2-2M5 21v-8'/%3E%3C/svg%3E");
  --i-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  --i-chev-d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-chev-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
  --i-chev-l:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
  --i-chev-ud:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5M7 9l5-5 5 5'/%3E%3C/svg%3E");
  --i-close:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  --i-reply:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17 4 12l5-5'/%3E%3Cpath d='M20 18v-2a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E");
  --i-reply-all:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 17-5-5 5-5'/%3E%3Cpath d='m13 17-5-5 5-5'/%3E%3Cpath d='M22 18v-2a4 4 0 0 0-4-4H8'/%3E%3C/svg%3E");
  --i-forward:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 17 5-5-5-5'/%3E%3Cpath d='M4 18v-2a4 4 0 0 1 4-4h12'/%3E%3C/svg%3E");
  --i-edit:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
  --i-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.6 5.6 6 .8-4.4 4.2 1.1 6-5.3-2.9L6.7 19.6l1.1-6L3.4 9.4l6-.8Z'/%3E%3C/svg%3E");
  --i-star-fill:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.6 5.6 6 .8-4.4 4.2 1.1 6-5.3-2.9L6.7 19.6l1.1-6L3.4 9.4l6-.8Z'/%3E%3C/svg%3E");
  --i-clip:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E");
  --i-tag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 12 22l-9-9V3h10l7.6 7.6a2 2 0 0 1 0 2.8Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.2'/%3E%3C/svg%3E");
  --i-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
  --i-save:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M17 21v-8H7v8M7 3v5h8'/%3E%3C/svg%3E");
  --i-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  --i-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  --i-sign:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17c3 0 4-6 6-6s2 6 4 6 2-6 4-6 2 6 4 6'/%3E%3C/svg%3E");
  --i-box:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3C/svg%3E");
  --i-box-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='m8.5 12.5 2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  --i-gear:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E");
  --i-help:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 17h.01M9.6 9a2.5 2.5 0 1 1 3.4 2.3c-.6.3-1 .9-1 1.7'/%3E%3C/svg%3E");
  --i-power:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v9'/%3E%3Cpath d='M6.3 6.3a8 8 0 1 0 11.4 0'/%3E%3C/svg%3E");
  --i-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  --i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
  --i-print:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
  --i-window:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
  --i-paint:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20c1.1 0 2-.9 2-2 0-.6-.2-1-.6-1.4-.3-.3-.5-.8-.5-1.3 0-1.1.9-2 2-2h1.4A5.7 5.7 0 0 0 22 9.7C22 5.4 17.5 2 12 2Z'/%3E%3C/svg%3E");
  --i-download:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E");
  --i-fire:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c4 0 6-2.7 6-6 0-4-3-5-3-9 0 0-3 2-3 5 0-1.5-1-3-1-3s-2 2-2 5c0 0-2 1-2 4 0 3.3 2 6 5 6Z'/%3E%3C/svg%3E");
  --i-copy:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
  --i-eye-off:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7a9.7 9.7 0 0 1 5 1.4M22 12s-3 7-10 7a9.7 9.7 0 0 1-5-1.4M3 3l18 18'/%3E%3C/svg%3E");
  --i-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --ui-bg:#1f1f1f; --ui-panel:#262626; --ui-ink:#f3f4f6; --ui-muted:#9ca3af; --ui-faint:#6b7280;
    --ui-line:rgb(255 255 255 / .10); --ui-hover:#303030; --ui-active:#363636;
    --ui-accent:#f3f4f6; --ui-accent-ink:#111827; --ui-warn-bg:#3a2a1a; --ui-warn:#fdba74;
    --unread-count-bg-color:#4b5563; --unread-count-color:#f3f4f6;
  }
}

/* ============================================================ shell */
html, body { height: 100%; margin: 0; overflow: hidden; }
#rl-app { height: 100%; overflow: hidden; background: var(--ui-bg); color: var(--ui-ink);
          font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
          -webkit-font-smoothing: antialiased; }
#rl-app #rl-content:not([hidden]) { height: 100%; min-height: 0; }
#rl-app #rl-left, #rl-app #rl-right { min-height: 0; }
#rl-app :focus-visible { outline: 2px solid var(--ui-unread); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { #rl-app *, #rl-app *::before { transition: none !important; animation: none !important; } }

/* one icon-button shape for every toolbar button (32px, radius 8) */
#rl-app .btn-toolbar .btn, #rl-app .top-toolbar .btn, #rl-app .b-footer .btn, #rl-app .message-fixed-button-toolbar .btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; margin: 0;
  background: none; border: 0; border-radius: 8px; box-shadow: none; text-shadow: none; line-height: 1;
  color: var(--ui-muted); cursor: pointer; transition: background .15s, color .15s;
}
#rl-app .btn-toolbar .btn:hover, #rl-app .top-toolbar .btn:hover, #rl-app .b-footer .btn:hover, #rl-app .message-fixed-button-toolbar .btn:hover {
  background: var(--ui-hover); color: var(--ui-ink);
}
#rl-app .btn-toolbar .btn-group { display: inline-flex; align-items: center; gap: .25rem; margin: 0; vertical-align: middle; }
#rl-app .btn-toolbar .btn::before, #rl-app .top-toolbar .btn::before { display: block; }
#rl-app .btn-toolbar .btn-group > .btn { border-radius: 8px; }
/* the shared "draw an SVG here" recipe: set --i on the element */
#rl-app .wm-svg::before { content: "" !important; display: inline-block; width: 16px; height: 16px; margin: 0; min-width: 0;
  background-color: currentColor; -webkit-mask: var(--i) center / 16px 16px no-repeat; mask: var(--i) center / 16px 16px no-repeat; }

/* ============================================================ sidebar */
#rl-app #rl-left { width: var(--ui-rail) !important; max-width: none; min-width: 0; resize: none; overflow: visible; position: relative; z-index: 20; }
#rl-app #wm-acct .dropdown-menu { z-index: 1200; }
html.rl-left-panel-disabled #rl-left { width: var(--ui-rail-min) !important; }
#rl-app .b-folders { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--ui-panel);
                     border-right: 1px solid var(--ui-line); white-space: nowrap; }

/* account card (built by app.js) */
#rl-app #wm-acct { position: relative; display: flex; align-items: center; gap: .625rem; height: var(--ui-head); flex: none;
                   padding: 0 .875rem; border-bottom: 1px solid var(--ui-line); box-sizing: border-box; }
#rl-app #wm-acct .wm-avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ui-avatar); color: var(--ui-avatar-ink);
                              display: grid; place-items: center; font-size: 12px; font-weight: 600; }
#rl-app #wm-acct .wm-meta { min-width: 0; flex: 1; line-height: 1.3; overflow: hidden; }
#rl-app #wm-acct .wm-meta b { display: block; font-size: 13px; font-weight: 600; color: var(--ui-ink); overflow: hidden; text-overflow: ellipsis; }
#rl-app #wm-acct .wm-meta span { display: block; font-size: 12px; color: var(--ui-muted); overflow: hidden; text-overflow: ellipsis; }
/* the app's account drop-down, moved in by app.js; its trigger becomes the up/down chevron */
#rl-app #wm-acct .btn-toolbar { margin: 0; padding: 0; }
#rl-app #wm-acct .accountPlace, #rl-app #wm-acct .audioPlace { display: none; }
#rl-app #wm-acct #top-system-dropdown-id { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; margin: 0; font-size: 0;
  background: none; border: 0; box-shadow: none; color: var(--ui-faint); border-radius: 8px; }
#rl-app #wm-acct #top-system-dropdown-id i { display: none; }
#rl-app #wm-acct #top-system-dropdown-id::after { content: ""; display: inline-block; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-chev-ud) center / 14px no-repeat; mask: var(--i-chev-ud) center / 14px no-repeat; }
#rl-app #wm-acct #top-system-dropdown-id:hover { background: var(--ui-hover); color: var(--ui-ink); }
#rl-app #wm-acct .dropdown-menu { left: 0; right: auto; top: calc(100% + 6px); }
html.wm-acct-moved #rl-app #V-SystemDropDown { display: none; }
html.rl-left-panel-disabled #wm-acct { padding: 0; justify-content: center; }
html.rl-left-panel-disabled #wm-acct .wm-meta, html.rl-left-panel-disabled #wm-acct .btn-toolbar { display: none; }

/* compose row */
#rl-app #rl-left .b-toolbar { display: flex; align-items: center; gap: .5rem; height: 80px; flex: none; padding: 0 .75rem; box-sizing: border-box; white-space: nowrap; }
#rl-app .b-folders .buttonCompose { flex: 1; height: 42px; min-width: 42px; max-width: none; max-height: none; width: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem; padding: 0 1rem;
  background: var(--ui-accent) !important; color: var(--ui-accent-ink) !important; border: 0; border-radius: 12px;
  font-weight: 500; text-shadow: none; box-shadow: none; overflow: hidden; }
#rl-app .b-folders .buttonCompose:hover { filter: brightness(1.15); }
#rl-app .b-folders .buttonCompose .icon-paper-plane { font-size: 0; }
#rl-app .b-folders .buttonCompose .icon-paper-plane::before { content: ""; display: inline-block; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-send) center / 16px no-repeat; mask: var(--i-send) center / 16px no-repeat; }
#rl-app .b-folders .buttonContacts { width: 42px; height: 42px; flex: none; display: grid; place-items: center; padding: 0; margin: 0; font-size: 0;
  background: none; border: 1px solid var(--ui-line); border-radius: 11px; color: var(--ui-muted); box-shadow: none; }
#rl-app .b-folders .buttonContacts::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-contacts) center / 16px no-repeat; mask: var(--i-contacts) center / 16px no-repeat; }
#rl-app .b-folders .buttonContacts:hover { background: var(--ui-hover); color: var(--ui-ink); }
html.rl-left-panel-disabled #rl-left .buttonCompose { padding: 0; gap: 0; }
html.rl-left-panel-disabled #rl-left .buttonComposeText, html.rl-left-panel-disabled #rl-left .buttonContacts { display: none !important; }

/* folder rows */
#rl-app .b-folders .b-content { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 .625rem 1rem; opacity: 1 !important; }
#rl-app .b-folders ul { list-style: none; margin: 0; padding: 0; }
#rl-app .b-folders-system li a, #rl-app .b-folders-user li a { display: flex; align-items: center; gap: .875rem; height: var(--ui-row); line-height: 1.2; padding: 0 .75rem; margin-bottom: 4px;
  border: 0; border-radius: 10px; color: var(--ui-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; transition: background .15s; }
#rl-app .b-folders-system li a:hover, #rl-app .b-folders-user li a:hover { background: var(--ui-hover); }
#rl-app .b-folders-system li a.selected, #rl-app .b-folders-user li a.selected { background: var(--ui-active); font-weight: 500; }
#rl-app .b-folders-system li a[data-unread], #rl-app .b-folders-user li a[data-unread] { font-weight: 600; }
#rl-app .b-folders a[data-unread]::after { margin-left: auto; font-size: 11px; font-weight: 500; line-height: 1.6; padding: 0 .4375rem; }
#rl-app .b-folders-system li a::before, #rl-app .b-folders-user li a::before { content: "" !important; display: inline-block; width: 16px; height: 16px; flex: none; margin: 0; min-width: 0;
  background: currentColor; -webkit-mask: var(--i, var(--i-folder)) center / 16px no-repeat; mask: var(--i, var(--i-folder)) center / 16px no-repeat; }
/* system folders in the order the app lists them: Inbox, Sent, Drafts, Spam, Trash */
#rl-app .b-folders-system li:nth-child(1) a { --i: var(--i-inbox); }
#rl-app .b-folders-system li:nth-child(2) a { --i: var(--i-send); }
#rl-app .b-folders-system li:nth-child(3) a { --i: var(--i-file); }
#rl-app .b-folders-system li:nth-child(4) a { --i: var(--i-spam); }
#rl-app .b-folders-system li:nth-child(5) a { --i: var(--i-trash); }
#rl-app .b-folders-system a .flag-icon { display: none; }
#rl-app .b-folders-user li a > i { order: 9; margin-left: auto; width: 14px; height: 14px; font-size: 0; background: var(--ui-faint);
  -webkit-mask: var(--i-chev-r) center / 14px no-repeat; mask: var(--i-chev-r) center / 14px no-repeat; transition: transform .2s; }
#rl-app .b-folders-user li a > i[class*="down"] { transform: rotate(90deg); }
#rl-app .b-folders-user ul { padding-left: 1.125rem; }
#rl-app .b-folders-user ul a { font-size: 13px; color: var(--ui-muted); height: 32px; }
#rl-app .b-folders-user ul a::before { display: none; }
#rl-app .b-folders-user ul a:hover { color: var(--ui-ink); }
#rl-app .b-folders .b-content hr { height: 1px; border: 0; background: var(--ui-line); margin: 1.25rem .25rem; }
#rl-app .b-folders .e-checkbox { display: flex; align-items: center; gap: .875rem; height: var(--ui-row); padding: 0 .75rem; margin-bottom: 4px;
  border-radius: 10px; cursor: pointer; font-size: 14px; }
#rl-app .b-folders .e-checkbox, #rl-app .b-folders .e-checkbox * { color: var(--ui-ink); }
#rl-app .b-folders .e-checkbox:hover { background: var(--ui-hover); }
#rl-app .b-folders .e-checkbox i { font-size: 0; width: 16px; height: 16px; background: var(--ui-ink);
  -webkit-mask: var(--i-eye) center / 16px no-repeat; mask: var(--i-eye) center / 16px no-repeat; }
#rl-app .b-folders .search-input-wrp { margin: 0 0 .75rem; width: 100%; }
#rl-app .b-folders .search-input-wrp input { width: 100%; box-sizing: border-box; padding: .4375rem .875rem; background: var(--ui-hover); color: var(--ui-ink);
  border: 1px solid var(--ui-line); border-radius: 9999px; }

/* footer: quiet create / configure row; the panel toggle moves to the list toolbar */
#rl-app .b-folders .b-footer { display: flex; align-items: center; justify-content: flex-end; gap: .25rem; padding: .5rem .75rem; border-top: 1px solid var(--ui-line); }
#rl-app .b-folders .b-footer .btn-group { display: inline-flex; gap: .25rem; }
#rl-app .b-folders .b-footer .toggleLeft { display: none !important; }
#rl-app .b-folders .b-footer .btn { font-size: 0; }
#rl-app .b-folders .b-footer .btn::before { content: "" !important; display: inline-block; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app .b-folders .b-footer .icon-folder-add { --i: var(--i-folder-plus); }
#rl-app .b-folders .b-footer .fontastic { --i: var(--i-sliders); }
html.rl-left-panel-disabled #rl-left .b-footer { display: none; }
html.rl-left-panel-disabled #rl-left .b-content { padding: 0 .5rem 1rem; }
html.rl-left-panel-disabled #rl-left .b-folders-system li a, html.rl-left-panel-disabled #rl-left .b-folders-user li a { justify-content: center; gap: 0; padding: 0; font-size: 0; }
html.rl-left-panel-disabled #rl-left .b-folders a[data-unread]::after, html.rl-left-panel-disabled #rl-left .b-folders-user li a > i { display: none; }
html.rl-left-panel-disabled #rl-left .search-input-wrp, html.rl-left-panel-disabled #rl-left .e-checkbox span, html.rl-left-panel-disabled #rl-left .b-folders-user ul { display: none; }
html.rl-left-panel-disabled #rl-left .e-checkbox { justify-content: center; padding: 0; gap: 0; }

/* ============================================================ message list */
#rl-app #V-MailMessageList { display: flex; flex-direction: column; min-height: 0; background: var(--ui-bg); }
#rl-app #V-MailMessageList > .btn-toolbar { display: flex; align-items: center; gap: .25rem; height: var(--ui-head); box-sizing: border-box;
  padding: 0 .75rem; margin: 0; border-bottom: 1px solid var(--ui-line); background: none; flex: none; }
#rl-app #V-MailMessageList > .btn-toolbar .btn { font-size: 0; }
#rl-app #V-MailMessageList > .btn-toolbar .btn i { display: none; }
#rl-app #V-MailMessageList > .btn-toolbar .btn::before, #rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]MESSAGE_LIST/NO_SORT"]::before {
  content: "" !important; display: inline-block; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app #V-MailMessageList > .btn-toolbar .toggleLeft { display: inline-grid !important; --i: var(--i-panel); }
#rl-app #V-MailMessageList > .btn-toolbar .buttonCompose { display: none !important; }
#rl-app #V-MailMessageList > .btn-toolbar [data-bind*="reload"] { --i: var(--i-refresh); }
#rl-app #wm-title { font-size: 14px; font-weight: 500; color: var(--ui-ink); margin: 0 auto 0 .5rem; padding-left: .75rem; border-left: 1px solid var(--ui-line); line-height: 20px; }
#rl-app #wm-actions { display: inline-flex; align-items: center; gap: .25rem; margin-left: auto; }
#rl-app #wm-actions .btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; margin: 0; border: 0; border-radius: 8px; background: none; box-shadow: none; color: var(--ui-muted); font-size: 0; }
#rl-app #wm-actions .btn:hover { background: var(--ui-hover); color: var(--ui-ink); }
#rl-app #wm-actions .btn i, #rl-app #wm-actions .btn div { display: none; }
#rl-app #wm-actions .btn::before, #rl-app #wm-actions [data-i18n="[title]MESSAGE_LIST/NO_SORT"]::before { content: "" !important; display: block; width: 16px; height: 16px; margin: 0; min-width: 0; background: currentColor; -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app #wm-actions .btn-group { display: inline-flex; align-items: center; gap: .25rem; margin: 0; }
#rl-app #wm-actions .dropdown-toggle::after { display: none; }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/MOVE_TO"] { --i: var(--i-folder); }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/TO_ARCHIVE"] { --i: var(--i-archive); }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/TO_SPAM"] { --i: var(--i-spam); }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/NOT_SPAM"] { --i: var(--i-notspam); }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/DELETE"] { --i: var(--i-trash); }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/DELETE"]:hover { color: var(--ui-danger); }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/UNDELETE"] { --i: var(--i-trash); }
#rl-app #wm-actions [data-i18n="[title]GLOBAL/MORE"] { --i: var(--i-more); }
#rl-app #wm-actions [data-i18n="[title]MESSAGE_LIST/SORT"] { --i: var(--i-sort); }
#rl-app #wm-actions [data-i18n="[title]MESSAGE_LIST/NO_SORT"] { --i: var(--i-sort); width: 32px; height: 32px; display: inline-grid; place-items: center; font-size: 0; color: var(--ui-faint); }
#rl-app #wm-actions:not(.hasChecked) .onCheckedShow { display: none !important; }
#rl-app #wm-actions.hasChecked .onCheckedHide { display: none !important; }
/* check-all reflects the checked state (its glyph swap is masked away) */
#rl-app #V-MailMessageList .second-toolbar:has(#wm-actions.hasChecked) .checkboxCheckAll { background: var(--ui-ink); -webkit-mask-image: var(--i-box-check); mask-image: var(--i-box-check); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/MOVE_TO"] { --i: var(--i-folder); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/TO_ARCHIVE"] { --i: var(--i-archive); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/TO_SPAM"] { --i: var(--i-spam); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/NOT_SPAM"] { --i: var(--i-notspam); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/DELETE"] { --i: var(--i-trash); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/DELETE"]:hover { color: var(--ui-danger); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/UNDELETE"] { --i: var(--i-trash); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]GLOBAL/MORE"] { --i: var(--i-more); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]MESSAGE_LIST/SORT"] { --i: var(--i-sort); }
#rl-app #V-MailMessageList > .btn-toolbar [data-i18n="[title]MESSAGE_LIST/NO_SORT"] { --i: var(--i-sort); width: 32px; height: 32px; display: inline-grid; place-items: center; font-size: 0; color: var(--ui-faint); }
#rl-app #V-MailMessageList > .btn-toolbar .dropdown-toggle::after { display: none; }

/* search row: check-all, wide pill with the caret inside */
#rl-app #V-MailMessageList .messageList { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#rl-app #V-MailMessageList .second-toolbar { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; margin: 0; flex-wrap: nowrap;
  background: none; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; }
#rl-app #V-MailMessageList .checkboxCheckAll { font-size: 0; width: 24px; height: 24px; flex: none; background: var(--ui-faint); cursor: pointer;
  -webkit-mask: var(--i-box) center / 18px no-repeat; mask: var(--i-box) center / 18px no-repeat; }
#rl-app #V-MailMessageList .hasChecked ~ .messageList .checkboxCheckAll, #rl-app #V-MailMessageList .checkboxCheckAll:hover { background: var(--ui-ink); }
#rl-app #V-MailMessageList .second-toolbar .search-input-wrp { position: relative; flex: 1 1 auto; max-width: 480px; min-width: 0; margin: 0; display: flex; align-items: center;
  background: var(--ui-hover); border: 1px solid var(--ui-line); border-radius: 9999px; }
#rl-app #V-MailMessageList .second-toolbar .search-input-wrp::before { content: ""; position: absolute; left: .875rem; width: 14px; height: 14px; background: var(--ui-faint);
  -webkit-mask: var(--i-search) center / 14px no-repeat; mask: var(--i-search) center / 14px no-repeat; pointer-events: none; }
#rl-app #V-MailMessageList .second-toolbar .inputSearch { flex: 1; min-width: 0; width: 100%; box-sizing: border-box; background: none; border: 0; outline: none; box-shadow: none;
  color: var(--ui-ink); padding: .4375rem 2.25rem .4375rem 2.25rem; font-size: 13px; margin: 0; }
#rl-app #V-MailMessageList .second-toolbar .closeSearch { position: absolute; right: 2rem; color: var(--ui-faint); text-decoration: none; }
#rl-app #V-MailMessageList .second-toolbar .buttonMoreSearch { width: 28px; height: 28px; margin-left: -2.25rem; margin-right: .25rem; z-index: 1; font-size: 0; padding: 0;
  display: inline-grid; place-items: center; background: none; border: 0; box-shadow: none; color: var(--ui-faint); border-radius: 8px; }
#rl-app #V-MailMessageList .second-toolbar .buttonMoreSearch::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-chev-d) center / 16px no-repeat; mask: var(--i-chev-d) center / 16px no-repeat; }
#rl-app #V-MailMessageList .second-toolbar .buttonMoreSearch:hover { color: var(--ui-ink); }

/* rows */
#rl-app #V-MailMessageList .b-content { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: .375rem .5rem; }
#rl-app .messageListItem { display: flex; align-items: flex-start; gap: .625rem; margin: 0 0 2px; padding: .625rem .75rem; box-sizing: border-box;
  border: 0; border-radius: 12px; font-size: 13px; line-height: 1.45; transition: background .12s; }
#rl-app .messageListItem:hover { background: var(--ui-hover); }
#rl-app .messageListItem.selected, #rl-app .messageListItem.focused, #rl-app .messageListItem.checked { background: var(--ui-active); }
#rl-app .messageListItem .messageCheckbox { padding: 0; margin-top: .125rem; }
#rl-app .messageListItem .checkboxMessage { font-size: 0; width: 18px; height: 18px; background: var(--ui-faint);
  -webkit-mask: var(--i-box) center / 18px no-repeat; mask: var(--i-box) center / 18px no-repeat; }
#rl-app .messageListItem.checked .checkboxMessage { background: var(--ui-ink); -webkit-mask-image: var(--i-box-check); mask-image: var(--i-box-check); }
#rl-app .messageListItem > div + div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-rows: auto auto;
  column-gap: .375rem; padding: 0; width: auto; flex: 1; min-width: 0; align-items: center; }
#rl-app .messageListItem .senderParent { grid-row: 1; grid-column: 1; font-weight: 600; color: var(--ui-ink); }
#rl-app .messageListItem .threads-len { grid-row: 1; grid-column: 1; justify-self: end; margin-right: .25rem; padding: 0 .375rem; border-radius: 9999px;
  background: var(--ui-hover); font-size: 11px; color: var(--ui-muted); }
#rl-app .messageListItem .subjectParent { grid-row: 2; grid-column: 1 / -1; color: var(--ui-muted); margin: 0; }
#rl-app .messageListItem time { grid-row: 1; grid-column: 2; margin: 0; min-width: 0; font-size: 12px; color: var(--ui-muted); opacity: 1; white-space: nowrap; }
#rl-app .messageListItem .attachmentParent { grid-row: 1; grid-column: 3; margin: 0; min-width: 0; width: 13px; height: 13px; line-height: 0; }
#rl-app .messageListItem .attachmentParent i { display: block; width: 13px; height: 13px; font-size: 0; background: var(--ui-faint);
  -webkit-mask: var(--i-clip) center / 13px no-repeat; mask: var(--i-clip) center / 13px no-repeat; }
#rl-app .messageListItem .attachmentParent i::before { content: none; }
#rl-app .messageListItem .attachmentParent i:not([class]) { display: none; }
#rl-app .messageListItem .flagParent { grid-row: 1; grid-column: 4; margin: 0; min-width: 0; width: 13px; height: 13px; font-size: 0; background: var(--ui-faint);
  -webkit-mask: var(--i-star) center / 13px no-repeat; mask: var(--i-star) center / 13px no-repeat; cursor: pointer; }
#rl-app .messageListItem .flagParent::after { content: none; }
#rl-app .messageListItem.flagged .flagParent, #rl-app .messageListItem.msgflag-\\flagged .flagParent { background: #f59e0b; -webkit-mask-image: var(--i-star-fill); mask-image: var(--i-star-fill); }
#rl-app .messageListItem .sizeParent { display: none; }
#rl-app .messageListItem.unseen .senderParent::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ui-unread);
  margin-right: .5rem; vertical-align: middle; font-family: inherit; }
#rl-app .messageListItem.msgflag-\\answered .senderParent::before, #rl-app .messageListItem.msgflag-\$forwarded .senderParent::before {
  content: ""; width: 13px; height: 13px; border-radius: 0; background: var(--ui-faint); -webkit-mask: var(--i-reply) center / 13px no-repeat; mask: var(--i-reply) center / 13px no-repeat; }
#rl-app .messageListItem.msgflag-\$forwarded .senderParent::before { -webkit-mask-image: var(--i-forward); mask-image: var(--i-forward); }
#rl-app .messageListItem.unseen .subjectParent { color: var(--ui-ink); }
#rl-app .listEmptyMessage, #rl-app .listLoading, #rl-app .listSearchDesc, #rl-app .listThreadUidDesc, #rl-app .listClear { color: var(--ui-faint); font-weight: 300; text-align: center; padding: 2rem 1rem; }

/* pager */
#rl-app #V-MailMessageList .b-footer { display: flex; align-items: center; justify-content: center; gap: .25rem; padding: .625rem .75rem; flex: none;
  border-top: 1px solid var(--ui-line); background: none; }
#rl-app .e-paginator a { opacity: 1; font-size: 13px; padding: .25rem .5rem; border-radius: 8px; color: var(--ui-muted); }
#rl-app .e-paginator a:hover { background: var(--ui-hover); color: var(--ui-ink); }
#rl-app .e-paginator a.current, #rl-app .e-paginator .current a, #rl-app .e-paginator a.active { background: var(--ui-active); color: var(--ui-ink); font-weight: 500; }
#rl-app #V-MailMessageList .e-quota { display: none; }

/* ============================================================ reading pane */
#rl-app #V-MailMessageView { display: flex; flex-direction: column; min-height: 0; background: var(--ui-bg); }
#rl-app #V-MailMessageView .top-toolbar { display: flex; align-items: center; gap: .25rem; height: var(--ui-head); box-sizing: border-box; padding: 0 .75rem;
  border-bottom: 1px solid var(--ui-line); color: var(--ui-muted); flex: none; }
#rl-app #V-MailMessageView .top-toolbar .btn-group:first-child::after { content: ""; width: 1px; height: 20px; background: var(--ui-line); margin: 0 .25rem; align-self: center; }
#rl-app #V-MailMessageView .top-toolbar .btn-group:nth-child(3) { margin-right: auto; }
#rl-app #V-MailMessageView .top-toolbar .btn { font-size: 0; }
#rl-app #V-MailMessageView .top-toolbar .btn::before { content: "" !important; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app #V-MailMessageView .top-toolbar .btn i, #rl-app #V-MailMessageView .top-toolbar .btn div { display: none; }
#rl-app #V-MailMessageView .top-toolbar .buttonClose { --i: var(--i-close); }
#rl-app #V-MailMessageView .top-toolbar .buttonEdit { --i: var(--i-edit); background: var(--ui-accent); color: var(--ui-accent-ink); border-radius: 9999px; }
#rl-app #V-MailMessageView .top-toolbar [data-i18n="[title]GLOBAL/TO_ARCHIVE"] { --i: var(--i-archive); }
#rl-app #V-MailMessageView .top-toolbar [data-i18n="[title]GLOBAL/TO_SPAM"] { --i: var(--i-spam); }
#rl-app #V-MailMessageView .top-toolbar [data-i18n="[title]GLOBAL/NOT_SPAM"] { --i: var(--i-notspam); }
#rl-app #V-MailMessageView .top-toolbar [data-i18n="[title]GLOBAL/DELETE"] { --i: var(--i-trash); }
#rl-app #V-MailMessageView .top-toolbar [data-i18n="[title]GLOBAL/DELETE"]:hover { color: var(--ui-danger); }
#rl-app #V-MailMessageView .top-toolbar [data-i18n="[title]GLOBAL/UNDELETE"] { --i: var(--i-trash); }
#rl-app #V-MailMessageView .top-toolbar .buttonUp { --i: var(--i-chev-l); }
#rl-app #V-MailMessageView .top-toolbar .buttonDown { --i: var(--i-chev-r); }

#rl-app #V-MailMessageView .messageView { height: auto; flex: 1; min-height: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; }
#rl-app .b-message-view-desc { flex: 1; display: grid; place-items: center; font-size: 15px; font-weight: 300; color: var(--ui-faint); }
#rl-app .b-message { display: flex; flex-direction: column; min-height: 0; flex: 1; }
#rl-app #messageItem { flex: 1; min-height: 0; padding: 0 1.75rem 2rem; box-sizing: border-box; }
/* reply / reply-all / more: inline icon buttons above the header instead of a floating cluster */
#rl-app .message-fixed-button-toolbar { position: static; display: flex; align-items: center; gap: .25rem; padding: .75rem 1.75rem 0; }
#rl-app .message-fixed-button-toolbar .btn { font-size: 0; }
#rl-app .message-fixed-button-toolbar .btn::before { content: "" !important; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app .message-fixed-button-toolbar .buttonReply { --i: var(--i-reply); }
#rl-app .message-fixed-button-toolbar .buttonReplyAll { --i: var(--i-reply-all); }
#rl-app .message-fixed-button-toolbar .dropdown-toggle { --i: var(--i-more); }
#rl-app .message-fixed-button-toolbar .dropdown-toggle::after { display: none; }
#rl-app .message-fixed-button-toolbar .buttonEdit { --i: var(--i-edit); }
/* header */
#rl-app .messageItemHeader { background: none; border: 0; border-radius: 0; padding: .75rem 1.75rem 0; }
#rl-app .messageItemHeader .subjectParent { display: flex; align-items: flex-start; gap: .625rem; }
#rl-app .messageItemHeader .subject { flex: 1; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ui-ink); }
#rl-app .messageItemHeader .infoParent, #rl-app .messageItemHeader .flagParent { font-size: 0; width: 18px; height: 18px; margin-top: .3rem; flex: none; background: var(--ui-faint); cursor: pointer;
  -webkit-mask: var(--i) center / 18px no-repeat; mask: var(--i) center / 18px no-repeat; }
#rl-app .messageItemHeader .infoParent { --i: var(--i-info); order: 8; }
#rl-app .messageItemHeader .flagParent { --i: var(--i-star); order: 9; }
#rl-app .messageItemHeader .flagParent:not(.flagOff) { background: #f59e0b; -webkit-mask-image: var(--i-star-fill); mask-image: var(--i-star-fill); }
#rl-app .messageItemHeader .subjectParent .close { display: none; }
#rl-app .messageItemHeader .informationShort { font-size: 13px; color: var(--ui-muted); margin-top: .25rem; }
#rl-app .messageItemHeader .informationShort .from, #rl-app .messageItemHeader .from > * { color: var(--ui-ink); font-weight: 600; }
#rl-app #messageItem .messageItemHeader { padding: .25rem 0 0; }
#rl-app #messageItem .messageItemHeader time.date { font-size: 12px; color: var(--ui-muted); }
#rl-app #messageItem .informationShortWrp { font-size: 12px; color: var(--ui-muted); }
#rl-app #messageItem .informationFull { margin: .5rem 0; padding: .625rem .875rem; border: 1px solid var(--ui-line); border-radius: 12px; font-size: 12px; }
#rl-app #messageItem .informationFull td:first-child { color: var(--ui-muted); padding-right: 1rem; }
#rl-app .messageTags { display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; margin: .5rem 0; font-size: 12px; color: var(--ui-muted); }
#rl-app .messageAssignedTags > * { display: inline-flex; align-items: center; padding: .125rem .5rem; border-radius: 9999px; background: var(--ui-hover); font-size: 12px; }
#rl-app .messageTags .dropdown-toggle { font-size: 0; width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 8px; color: var(--ui-muted); }
#rl-app .messageTags .dropdown-toggle::before { content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-tag) center / 14px no-repeat; mask: var(--i-tag) center / 14px no-repeat; }
#rl-app .messageTags .dropdown-toggle::after { display: none; }
#rl-app .hasVirus { margin: .5rem 0; padding: .625rem .875rem; border-radius: 12px; background: var(--ui-warn-bg); color: var(--ui-warn); font-size: 13px; }
/* bars above the body */
#rl-app .bodySubHeader { background: none; }
#rl-app .readReceipt, #rl-app #messageItem .btn[data-i18n="MESSAGE/BUTTON_SHOW_IMAGES"], #rl-app #messageItem .btn[data-i18n="MESSAGE/ENABLE_TRACKING_LINKS"],
#rl-app #messageItem .alert { display: flex; align-items: center; gap: .625rem; margin: 0 0 .625rem; padding: .625rem .875rem; border-radius: 12px;
  border: 1px solid var(--ui-line); background: var(--ui-panel); font-size: 13px; color: var(--ui-ink); width: auto; line-height: 1.4; cursor: pointer; }
#rl-app .readReceipt::before, #rl-app #messageItem .btn[data-i18n="MESSAGE/BUTTON_SHOW_IMAGES"]::before { content: "" !important; width: 16px; height: 16px; flex: none; background: var(--ui-muted); margin: 0;
  -webkit-mask: var(--i-image) center / 16px no-repeat; mask: var(--i-image) center / 16px no-repeat; }
#rl-app .readReceipt::before { -webkit-mask-image: var(--i-send); mask-image: var(--i-send); }
/* attachments */
#rl-app .attachmentsPlace { border: 1px solid var(--ui-line); border-radius: 14px; margin: .5rem 0 1.25rem; padding: 0; overflow: hidden; }
#rl-app .attachmentsPlace summary { padding: .5rem .875rem; font-size: 12px; color: var(--ui-muted); background: var(--ui-panel); border-bottom: 1px solid var(--ui-line); cursor: pointer; }
#rl-app .attachmentsPlace .attachmentList { margin: 0; padding: .5rem .625rem; display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
#rl-app .attachmentItem { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .75rem; margin: 0; border-radius: 10px; border: 1px solid var(--ui-line);
  background: none; box-shadow: none; line-height: 1.4; font-size: 13px; }
#rl-app .attachmentItem .attachmentSize { color: var(--ui-muted); font-size: 12px; }

/* ============================================================ menus (every .dropdown-menu) */
#rl-app .dropdown-menu { min-width: 224px; padding: .375rem; margin: 6px 0 0; border: 1px solid var(--ui-line); border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / .28); background: var(--ui-bg); color: var(--ui-ink); }
#rl-app .dropdown-menu li { margin: 0; }
#rl-app .dropdown-menu a { display: flex; align-items: center; gap: .75rem; padding: .5rem .625rem; border-radius: 9px; font-size: 13px; color: var(--ui-ink); background: none; }
#rl-app .dropdown-menu li:not(.disabled) > a:hover, #rl-app .dropdown-menu li:not(.disabled) > a:focus { background: var(--ui-hover); color: var(--ui-ink); }
#rl-app .dropdown-menu a[data-icon]::before { content: "" !important; width: 16px; height: 16px; min-width: 0; margin: 0; flex: none; font-size: 0; opacity: .85;
  background: currentColor; -webkit-mask: var(--i, none) center / 16px no-repeat; mask: var(--i, none) center / 16px no-repeat; }
#rl-app .dropdown-menu a:not([data-icon])::before { display: none; }
#rl-app .dropdown-menu a[data-icon="✚"] { --i: var(--i-plus); }
#rl-app .dropdown-menu a[data-icon="📇"] { --i: var(--i-contacts); }
#rl-app .dropdown-menu a[data-icon="⚙"] { --i: var(--i-gear); }
#rl-app .dropdown-menu a[data-icon="🛈"] { --i: var(--i-help); }
#rl-app .dropdown-menu a[data-icon="⏻"] { --i: var(--i-power); }
#rl-app .dropdown-menu a[data-icon="👤"] { --i: var(--i-user); }
#rl-app .dropdown-menu a[data-icon="✔"] { --i: var(--i-user); }
#rl-app .dropdown-menu a[data-icon="📁"] { --i: var(--i-folder); }
#rl-app .dropdown-menu a[data-icon="🗄"] { --i: var(--i-archive); }
#rl-app .dropdown-menu a[data-icon="⚠"] { --i: var(--i-spam); }
#rl-app .dropdown-menu a[data-icon="🗑"] { --i: var(--i-trash); }
#rl-app .dropdown-menu a[data-icon="★"] { --i: var(--i-star-fill); }
#rl-app .dropdown-menu a[data-icon="☆"] { --i: var(--i-star); }
#rl-app .dropdown-menu a[data-icon="←"] { --i: var(--i-reply); }
#rl-app .dropdown-menu a[data-icon="↞"] { --i: var(--i-reply-all); }
#rl-app .dropdown-menu a[data-icon="→"] { --i: var(--i-forward); }
#rl-app .dropdown-menu a[data-icon="⥅"] { --i: var(--i-forward); }
#rl-app .dropdown-menu a[data-icon="🖉"] { --i: var(--i-edit); }
#rl-app .dropdown-menu a[data-icon="🖨"] { --i: var(--i-print); }
#rl-app .dropdown-menu a[data-icon="⧉"] { --i: var(--i-window); }
#rl-app .dropdown-menu a[data-icon="👁"] { --i: var(--i-eye); }
#rl-app .dropdown-menu a[data-icon="🎨"] { --i: var(--i-paint); }
#rl-app .dropdown-menu a[data-icon="📥"] { --i: var(--i-download); }
#rl-app .dropdown-menu a[data-icon="💾"] { --i: var(--i-download); }
#rl-app .dropdown-menu a[data-icon="📦"] { --i: var(--i-download); }
#rl-app .dropdown-menu a[data-icon="🔥"] { --i: var(--i-fire); }
#rl-app .dropdown-menu a[data-icon="✖"] { --i: var(--i-close); }
#rl-app .dropdown-menu a[data-icon="&#xE068;"] { --i: var(--i-copy); }
#rl-app .dropdown-menu a[data-icon=""] { --i: var(--i-copy); }
#rl-app .dropdown-menu a[data-icon="☐"] { --i: var(--i-box); }
#rl-app .dropdown-menu a[data-icon="☑"] { --i: var(--i-box-check); }
#rl-app .dropdown-menu a[data-icon="✔"]::after { content: ""; margin-left: auto; width: 16px; height: 16px; background: var(--ui-unread); -webkit-mask: var(--i-check) center / 16px no-repeat; mask: var(--i-check) center / 16px no-repeat; }
#rl-app .dropdown-menu a[data-icon^="📅"], #rl-app .dropdown-menu a[data-icon^="@"], #rl-app .dropdown-menu a[data-icon^="✉"], #rl-app .dropdown-menu a[data-icon^="𝐒"] { --i: var(--i-sort); }
#rl-app .dropdown-menu a i.fontastic, #rl-app .dropdown-menu a i[class*="icon-"] { font-size: 0; width: 16px; height: 16px; display: inline-block; flex: none; }
#rl-app .dropdown-menu .dividerbar, #rl-app .dropdown-menu div.dividerbar { border-top: 1px solid var(--ui-line); margin-top: .375rem; padding-top: .375rem; }
#rl-app .dropdown-menu li.disabled > a { opacity: .4; }

/* ============================================================ dialogs */
#rl-popups dialog { border: 1px solid var(--ui-line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); background: var(--ui-bg); color: var(--ui-ink); padding: 0; }
dialog::backdrop { background: rgb(17 24 39 / .45); }
#rl-popups dialog header { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem .75rem 1.125rem; border-bottom: 1px solid var(--ui-line); background: none; color: var(--ui-ink); }
#rl-popups dialog h3 { margin: 0; font-size: 15px; font-weight: 600; }
#rl-popups dialog .modal-body { padding: 1.125rem; font-size: 13px; }
#rl-popups dialog .close { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; font-size: 0; opacity: 1; color: var(--ui-muted); text-shadow: none; float: right; }
#rl-popups dialog .close::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-close) center / 16px no-repeat; mask: var(--i-close) center / 16px no-repeat; }
#rl-popups dialog .close:hover { background: var(--ui-hover); color: var(--ui-ink); }
#rl-popups dialog .modal-body .btn, #rl-popups dialog footer .btn, #rl-popups dialog .modal-footer .btn {
  display: inline-flex; align-items: center; gap: .375rem; padding: .5rem 1rem; height: auto; line-height: 1.4; border-radius: 9999px; border: 1px solid var(--ui-line);
  background: none; box-shadow: none; text-shadow: none; color: var(--ui-ink); font-size: 13px; }
#rl-popups dialog .btn.btn-success, #rl-popups dialog .buttonAdvSearch, #rl-popups dialog .buttonCreate, #rl-popups dialog .buttonSave, #rl-popups dialog .buttonYes,
#rl-popups dialog .buttonAddAccount, #rl-popups dialog .buttonAddIdentity, #rl-popups dialog .button-save-contact {
  background: var(--ui-accent); color: var(--ui-accent-ink); border-color: transparent; font-weight: 500; }
#rl-popups dialog .btn.btn-danger { color: var(--ui-danger); }
#rl-popups dialog input[type="text"], #rl-popups dialog input[type="email"], #rl-popups dialog input[type="password"], #rl-popups dialog input[type="search"],
#rl-popups dialog textarea, #rl-popups dialog select { padding: .5rem .875rem; background: var(--ui-hover); border: 1px solid var(--ui-line); border-radius: 10px;
  color: var(--ui-ink); font: inherit; font-size: 13px; outline: none; box-shadow: none; }
#rl-popups dialog label { font-size: 12px; color: var(--ui-muted); }

/* compose: fields + big editor, formatting under the editor, actions pinned to the bottom edge */
#rl-app #V-PopupsCompose { position: relative; width: min(1040px, 96vw); max-width: none; height: min(86vh, 880px); resize: none; display: flex; flex-direction: column; overflow: hidden; }
#rl-app #V-PopupsCompose header { position: static; flex: none; min-height: 48px; display: flex; align-items: center; gap: .25rem; padding: .5rem .75rem .5rem 1.125rem; background: none; color: var(--ui-ink); }
#rl-app #V-PopupsCompose header::before { content: "New message"; font-size: 15px; font-weight: 600; margin-right: auto; }
#rl-app #V-PopupsCompose .modal-body { flex: 1; min-height: 0; padding: 0 0 64px; box-sizing: border-box; }
/* the bottom bar itself: a strip drawn under the body */
#rl-app #V-PopupsCompose::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-top: 1px solid var(--ui-line); background: var(--ui-bg); z-index: 1; }
/* Send / Save / Discard / saved-time are the header's first children; pin them into that strip */
#rl-app #V-PopupsCompose header > .btn:first-child, #rl-app #V-PopupsCompose header .button-save, #rl-app #V-PopupsCompose header .button-delete, #rl-app #V-PopupsCompose header .saved-text {
  position: absolute; z-index: 2; bottom: 12px; }
#rl-app #V-PopupsCompose header > .btn:first-child { left: 1.125rem; display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 1.25rem; width: auto;
  border-radius: 9999px; background: var(--ui-accent) !important; color: var(--ui-accent-ink) !important; border: 0; box-shadow: none; text-shadow: none; font-weight: 500; font-size: 13px; }
#rl-app #V-PopupsCompose header > .btn:first-child .hide-mobile { display: inline !important; }
#rl-app #V-PopupsCompose header > .btn:first-child i { font-size: 0; }
#rl-app #V-PopupsCompose header > .btn:first-child i::before { content: "" !important; display: inline-block; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-send) center / 16px no-repeat; mask: var(--i-send) center / 16px no-repeat; }
#rl-app #V-PopupsCompose header .saved-text { right: 6.25rem; bottom: 22px; font-size: 12px; color: var(--ui-faint); display: inline !important; }
#rl-app #V-PopupsCompose header .button-save { right: 3.75rem; --i: var(--i-save); }
#rl-app #V-PopupsCompose header .button-delete { right: 1rem; --i: var(--i-trash); }
#rl-app #V-PopupsCompose header .button-save, #rl-app #V-PopupsCompose header .button-delete { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0;
  border: 0; border-radius: 10px; background: none !important; box-shadow: none; color: var(--ui-muted) !important; font-size: 0; }
#rl-app #V-PopupsCompose header .button-save:hover, #rl-app #V-PopupsCompose header .button-delete:hover { background: var(--ui-hover) !important; }
#rl-app #V-PopupsCompose header .button-delete:hover { color: var(--ui-danger) !important; }
#rl-app #V-PopupsCompose header .button-save i, #rl-app #V-PopupsCompose header .button-save .hide-mobile { display: none; }
#rl-app #V-PopupsCompose header .button-save::before, #rl-app #V-PopupsCompose header .button-delete::before { content: "" !important; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
/* top-right of the header: Cc / Bcc text links, contacts, options, minimize, close */
#rl-app #V-PopupsCompose header .pull-right { display: flex; align-items: center; gap: .25rem; margin-left: auto; float: none; }
#rl-app #V-PopupsCompose header .pull-right * { color: var(--ui-muted); }
#rl-app #V-PopupsCompose header .pull-right > .btn.hide-mobile { width: auto; height: 28px; padding: 0 .5rem; font-size: 12px; border-radius: 8px; display: inline-grid; place-items: center;
  border: 0; background: none; box-shadow: none; }
#rl-app #V-PopupsCompose header .pull-right > .btn.hide-mobile:hover { color: var(--ui-ink); background: var(--ui-hover); }
#rl-app #V-PopupsCompose header .pull-right .fontastic, #rl-app #V-PopupsCompose header .pull-right .dropdown-toggle { font-size: 0; width: 32px; height: 32px; display: inline-grid; place-items: center;
  border: 0; background: none; box-shadow: none; border-radius: 8px; }
#rl-app #V-PopupsCompose header .pull-right .fontastic::before, #rl-app #V-PopupsCompose header .pull-right .dropdown-toggle::before,
#rl-app #V-PopupsCompose header .minimize-custom::before, #rl-app #V-PopupsCompose header .close::before { content: "" !important; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app #V-PopupsCompose header .pull-right [data-i18n="[title]GLOBAL/CONTACTS"] { --i: var(--i-contacts); }
#rl-app #V-PopupsCompose header .pull-right .dropdown-toggle { --i: var(--i-more); }
#rl-app #V-PopupsCompose header .pull-right .dropdown-toggle::after { display: none; }
#rl-app #V-PopupsCompose header .minimize-custom, #rl-app #V-PopupsCompose header .close { width: 32px; height: 32px; display: inline-grid; place-items: center; font-size: 0; margin: 0;
  border: 0; opacity: 1; border-radius: 8px; line-height: 1; float: none; }
#rl-app #V-PopupsCompose header .minimize-custom { --i: var(--i-minus); }
#rl-app #V-PopupsCompose header .close { --i: var(--i-close); }
#rl-app #V-PopupsCompose header .minimize-custom:hover, #rl-app #V-PopupsCompose header .close:hover { background: var(--ui-hover); color: var(--ui-ink); }
#rl-app #V-PopupsCompose header .dropdown-menu * { color: var(--ui-ink); }
#rl-app #V-PopupsCompose header .dropdown-menu i.fontastic { font-size: 0; width: 14px; height: 14px; border: 1.5px solid var(--ui-faint); border-radius: 4px; display: inline-block; }
/* fields */
#rl-app #V-PopupsCompose .b-header { padding: .25rem 1.125rem 0; background: none; }
#rl-app #V-PopupsCompose .b-header td { padding: 0; vertical-align: middle; border-bottom: 1px solid var(--ui-line); height: 44px; }
#rl-app #V-PopupsCompose .b-header td:first-child, #rl-app #V-PopupsCompose .b-header label { width: 62px; font-size: 12px; color: var(--ui-muted); padding-right: .625rem; }
#rl-app #V-PopupsCompose .b-header input[type="text"], #rl-app #V-PopupsCompose .b-header input { width: 100%; box-sizing: border-box; padding: .25rem .5rem; margin: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none; outline: none; color: var(--ui-ink); font-size: 14px; }
#rl-app #V-PopupsCompose .b-header .e-identity { font-size: 14px; }
#rl-app #V-PopupsCompose .b-header #identity-toggle { color: var(--ui-faint); }
#rl-app #V-PopupsCompose .b-header .error-to { color: var(--ui-danger); }
#rl-app #V-PopupsCompose .b-header > div { display: flex; justify-content: flex-end; gap: .25rem; padding: .375rem 0 0; }
#rl-app #V-PopupsCompose .b-header > div .btn { width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0; border: 0; background: none; box-shadow: none;
  color: var(--ui-muted); border-radius: 8px; font-size: 0; }
#rl-app #V-PopupsCompose .b-header > div .btn::before { content: "" !important; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app #V-PopupsCompose .b-header > div .btn:hover { background: var(--ui-hover); color: var(--ui-ink); }
#rl-app #V-PopupsCompose .b-header [data-i18n="[title]CRYPTO/SIGN"] { --i: var(--i-sign); }
#rl-app #V-PopupsCompose .b-header [data-i18n="[title]CRYPTO/ENCRYPT"] { --i: var(--i-lock); }
#rl-app #V-PopupsCompose .b-header #composeUploadButton { --i: var(--i-clip); }
/* tabs + editor: the formatting toolbar goes under the editor */
#rl-app #V-PopupsCompose .tabs { display: flex; flex-wrap: wrap; height: auto; max-height: none; flex: 1; min-height: 0; overflow: hidden; padding: 0 1.125rem; }
#rl-app #V-PopupsCompose .tabs > label { order: 0; padding: .5rem .75rem; margin: 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ui-muted); font-size: 13px; border-radius: 0; }
#rl-app #V-PopupsCompose .tabs > input:checked + label { color: var(--ui-ink); border-bottom-color: var(--ui-ink); font-weight: 500; }
#rl-app #V-PopupsCompose .tabs > label i { display: none; }
#rl-app #V-PopupsCompose .tabs > .tab-content { order: 1; width: 100%; flex: 1; min-height: 0; border-top: 1px solid var(--ui-line); }
#rl-app #V-PopupsCompose .textAreaParent { display: flex; flex-direction: column; height: 100%; min-height: 0; }
#rl-app .squire-toolbar { order: 2; border: 0; border-top: 1px solid var(--ui-line); padding: .5rem 0; display: flex; align-items: center; gap: .25rem; flex-wrap: wrap;
  white-space: normal; overflow: visible; flex: none; min-height: 0; }
#rl-app .squire-toolbar .btn-group { display: inline-flex; gap: .125rem; }
#rl-app .squire-toolbar .btn-group + .btn-group::before { content: ""; width: 1px; height: 18px; background: var(--ui-line); margin: 0 .25rem; align-self: center; }
#rl-app .squire-toolbar .btn { min-width: 28px; height: 28px; padding: 0 .375rem; border: 0; border-radius: 7px; background: none; box-shadow: none; color: var(--ui-muted); font-size: 13px; line-height: 28px; }
#rl-app .squire-toolbar .btn:hover, #rl-app .squire-toolbar .btn.active { background: var(--ui-hover); color: var(--ui-ink); }
#rl-app .squire-toolbar select.btn { padding: 0 .5rem; height: 28px; border: 1px solid var(--ui-line); border-radius: 8px; background: var(--ui-bg); font-size: 12px; }
#rl-app .squire-wysiwyg, #rl-app .squire-plain { flex: 1; min-height: 240px; padding: .875rem 0; font-size: 15px; line-height: 1.6; border: 0; outline: none; background: none; color: var(--ui-ink); box-sizing: border-box; }
#rl-app #V-PopupsCompose .b-attachment-place { border: 1px dashed var(--ui-line); border-radius: 12px; color: var(--ui-faint); font-size: 12px; }

/* contacts */
#rl-app #V-PopupsContacts { width: min(900px, 96vw); height: min(80vh, 720px); }
#rl-app #V-PopupsContacts .left { max-width: 300px; width: 300px; display: flex; flex-direction: column; border-right: 1px solid var(--ui-line); }
#rl-app #V-PopupsContacts .right { border: 0; }
#rl-app #V-PopupsContacts .b-list-toolbar { display: flex; align-items: center; gap: .25rem; padding: .5rem .625rem; border-bottom: 1px solid var(--ui-line); }
#rl-app #V-PopupsContacts .b-list-toolbar .e-search { flex: 1; min-width: 0; border-radius: 9999px; }
#rl-app #V-PopupsContacts .e-contact-item { height: auto; max-height: none; line-height: 1.3; padding: .5rem .875rem; border: 0 !important; }
#rl-app #V-PopupsContacts .e-contact-item.selected, #rl-app #V-PopupsContacts .e-contact-item:hover { background: var(--ui-hover); }
#rl-app #V-PopupsContacts .b-view-content { padding: 1rem 1.125rem; }
#rl-app #V-PopupsContacts .property-line { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
#rl-app #V-PopupsContacts .tabs > label { padding: .5rem .75rem; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ui-muted); font-size: 13px; }
#rl-app #V-PopupsContacts .tabs > input:checked + label { color: var(--ui-ink); border-bottom-color: var(--ui-ink); }

/* ============================================================ settings */
#rl-app #V-SettingsMenu { padding: .75rem .625rem; background: var(--ui-panel); }
#rl-app #V-SettingsMenu .b-toolbar { display: flex; gap: .25rem; padding: 0 0 .75rem; }
#rl-app #V-SettingsMenu .b-toolbar .toggleLeft { display: none !important; }
#rl-app #V-SettingsMenu .b-toolbar .btn[data-icon="⬅"] { width: 100%; height: var(--ui-row); display: flex; align-items: center; gap: .875rem; padding: 0 .75rem; border-radius: 10px;
  color: var(--ui-ink); font-size: 14px; }
#rl-app #V-SettingsMenu .b-toolbar .btn[data-icon="⬅"]::before { content: "" !important; width: 16px; height: 16px; background: currentColor; margin: 0; min-width: 0;
  -webkit-mask: var(--i-chev-l) center / 16px no-repeat; mask: var(--i-chev-l) center / 16px no-repeat; }
#rl-app #V-SettingsMenu nav a { display: flex; align-items: center; height: var(--ui-row); padding: 0 .75rem; margin-bottom: 4px; border-radius: 10px; border: 0;
  color: var(--ui-ink); text-decoration: none; }
#rl-app #V-SettingsMenu nav a:hover { background: var(--ui-hover); }
#rl-app #V-SettingsMenu nav a.selected { background: var(--ui-active); font-weight: 500; }
#rl-app #V-SettingsPane { padding: 1.5rem 1.75rem; overflow-y: auto; }
#rl-app #V-SettingsPane > .btn-toolbar { display: none; }
#rl-app #V-SettingsPane .legend, #rl-app #V-SettingsPane legend { font-size: 13px; font-weight: 600; color: var(--ui-ink); margin: 1.25rem 0 .5rem; border: 0; }
#rl-app #V-SettingsPane .control-group { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; margin: 0; border-bottom: 1px solid var(--ui-line); font-size: 13px; }
#rl-app #V-SettingsPane .control-label { width: auto; float: none; color: var(--ui-muted); text-align: left; padding: 0; }
#rl-app #V-SettingsPane .controls { margin: 0; }
#rl-app #V-SettingsPane input[type="text"], #rl-app #V-SettingsPane input[type="number"], #rl-app #V-SettingsPane select, #rl-app #V-SettingsPane textarea {
  padding: .25rem .625rem; background: var(--ui-bg); border: 1px solid var(--ui-line); border-radius: 9999px; color: var(--ui-ink); font-size: 12px; box-shadow: none; }
#rl-app #V-SettingsPane textarea { border-radius: 10px; }
#rl-app #V-SettingsPane .btn { display: inline-flex; align-items: center; gap: .375rem; padding: .3rem .75rem; border-radius: 9999px; border: 1px solid var(--ui-line);
  background: none; box-shadow: none; text-shadow: none; color: var(--ui-ink); font-size: 12px; line-height: 1.4; height: auto; }
#rl-app #V-SettingsPane .btn:hover { background: var(--ui-hover); }

/* ============================================================ responsive */
@media (max-width: 800px) {
  #rl-app #V-PopupsCompose { width: 100vw; height: 100dvh; border-radius: 0; }
  #rl-app #messageItem, #rl-app .messageItemHeader, #rl-app .message-fixed-button-toolbar { padding-left: 1rem; padding-right: 1rem; }
}

/* ============================================================ fixes v2c (23 Sep, after screenshots) */
/* 1. The focused message row carries z-index 101 in the app, which put it over the
      account menu. The menu's whole column now sits above the list pane. */
#rl-app #rl-left { z-index: 200; }
#rl-app .messageListItem, #rl-app .messageListItem.focused { z-index: auto !important; }
/* 2. Menu links moved under .b-folders picked up its "unselectable folder" italic. */
#rl-app #wm-acct .dropdown-menu a, #rl-app #wm-acct .dropdown-menu a * { font-style: normal; }
/* 3. List menus were clipped by the list card; let them overflow and open from the right edge. */
#rl-app #V-MailMessageList .messageList, #rl-app #V-MailMessageList .second-toolbar { overflow: visible; }
#rl-app #V-MailMessageList .second-toolbar { position: relative; z-index: 30; }
#rl-app #wm-actions .btn-group.dropdown { position: relative; }
#rl-app #wm-actions .dropdown-menu { left: auto; right: 0; }
/* 4. Menu items whose glyph has no SVG mapping painted a solid square (mask: none).
      Fall back to a fully transparent mask so nothing is drawn instead. */
#rl-app .dropdown-menu a[data-icon]::before { -webkit-mask-image: var(--i, linear-gradient(#0000, #0000)); mask-image: var(--i, linear-gradient(#0000, #0000)); }
/* 5. Items whose data-icon is empty or a private-use glyph: map by their label key. */
#rl-app .dropdown-menu a[data-i18n="MESSAGE_LIST/MENU_UNSET_SEEN"] { --i: var(--i-eye-off); }
#rl-app .dropdown-menu a[data-i18n="MESSAGE_LIST/MENU_SET_SEEN"] { --i: var(--i-eye); }
#rl-app .dropdown-menu a[data-i18n="MESSAGE_LIST/MENU_SET_ALL_SEEN"] { --i: var(--i-check); }
#rl-app .dropdown-menu a[data-i18n="GLOBAL/COPY_TO"] { --i: var(--i-copy); }
#rl-app .dropdown-menu a[data-i18n="GLOBAL/NOT_SPAM"], #rl-app .dropdown-menu a[data-bind*="notSpamCommand"] { --i: var(--i-notspam); }
#rl-app .dropdown-menu a[data-i18n="MESSAGE_LIST/BUTTON_MULTY_FORWARD"] { --i: var(--i-forward); }
#rl-app .dropdown-menu a[data-i18n="MESSAGE_LIST/BUTTON_EMPTY_FOLDER"] { --i: var(--i-fire); }
#rl-app .dropdown-menu a[data-i18n="MESSAGE_LIST/BUTTON_DELETE_WITHOUT_MOVE"] { --i: var(--i-trash); }
#rl-app .dropdown-menu a[data-i18n="GLOBAL/UNDELETE"] { --i: var(--i-trash); }
#rl-app .dropdown-menu a[data-i18n="MESSAGE/BUTTON_IN_NEW_WINDOW"] { --i: var(--i-window); }
#rl-app .dropdown-menu a[data-i18n="MESSAGE/MENU_DOWNLOAD_ORIGINAL"] { --i: var(--i-download); }
/* items that carry an <i class="icon-*"> instead of data-icon (not-spam, view source, full screen) */
#rl-app .dropdown-menu a > i[class*="icon-"] { display: inline-block; width: 16px; height: 16px; font-size: 0; flex: none; background: currentColor; opacity: .85;
  -webkit-mask: var(--i, linear-gradient(#0000, #0000)) center / 16px no-repeat; mask: var(--i, linear-gradient(#0000, #0000)) center / 16px no-repeat; }
#rl-app .dropdown-menu a > i[class*="icon-"]::before { content: none; }
#rl-app .dropdown-menu a > i.icon-check-mark-circle-two { --i: var(--i-notspam); }
#rl-app .dropdown-menu a > i.icon-file-code { --i: var(--i-window); }
#rl-app .dropdown-menu a > i[class*="icon-arrows"] { --i: var(--i-window); }
/* 6. Icon alignment: the app gives stand-alone toolbar buttons a top margin and
      baseline alignment that grouped ones do not get; normalise every child. */
#rl-app #wm-actions > *, #rl-app #V-MailMessageList > .btn-toolbar > *, #rl-app #V-MailMessageView .top-toolbar > *,
#rl-app #wm-actions .btn-group > *, #rl-app .top-toolbar .btn-group > * { margin: 0 !important; align-self: center; vertical-align: middle; float: none; }
#rl-app #wm-actions .btn, #rl-app #V-MailMessageList > .btn-toolbar .btn, #rl-app #V-MailMessageView .top-toolbar .btn { line-height: 32px; height: 32px; box-sizing: border-box; }
#rl-app #wm-actions .btn::before, #rl-app #V-MailMessageList > .btn-toolbar .btn::before, #rl-app #V-MailMessageView .top-toolbar .btn::before { display: block; margin: 0; line-height: 0; }
/* 7. Collapse: the expanded-width rule (two ids) outranked the collapsed one (class + id),
      so the rail kept 264px. Give the collapsed rule the higher specificity. */
html.rl-left-panel-disabled #rl-app #rl-left { width: var(--ui-rail-min) !important; }
html.rl-left-panel-disabled #rl-app #rl-left .b-folders-user ul { display: none !important; }
/* 8. The list card's own border/radius showed once its overflow was released. */
#rl-app #V-MailMessageList .messageList { border: 0; border-radius: 0; box-shadow: none; background: none; }
/* 9. Account menu anchors to the card, not to the chevron: the drop-down's own
      wrappers stop being positioning contexts, the card is. Same box as the preview
      (12px inset both sides, just under the header rule). */
#rl-app #wm-acct .btn-toolbar, #rl-app #wm-acct .btn-group, #rl-app #wm-acct .dropdown { position: static; }
#rl-app #wm-acct .dropdown-menu { position: absolute; left: .75rem; right: .75rem; top: calc(100% + 4px); width: auto; min-width: 0; max-width: none; margin: 0; }
/* 10. Screens the app hides with the `hidden` attribute must stay hidden: my explicit
       display values on #V-MailMessageList / #V-MailMessageView were overriding it,
       which is why Settings › Folders showed next to the still-visible inbox. */
#rl-app [hidden], #rl-popups [hidden] { display: none !important; }
/* 11. Compose tabs: keep the app's own tab mechanics (radio + label + panel); only the
       look is ours. The flex re-layout squeezed the editor into a side column and
       stretched the labels into full-height bars. */
#rl-app #V-PopupsCompose .tabs { display: block; flex: 1 1 auto; min-height: 0; max-height: none; height: auto; overflow: hidden; padding: 0 1.125rem; }
#rl-app #V-PopupsCompose .tabs > label { display: inline-block; order: 0; width: auto; height: auto; padding: .5rem .75rem; margin: 0;
  border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0; background: none; box-shadow: none; outline: none; color: var(--ui-muted); font-size: 13px; }
#rl-app #V-PopupsCompose .tabs > input:checked + label { color: var(--ui-ink); border-bottom-color: var(--ui-ink) !important; font-weight: 500; }
#rl-app #V-PopupsCompose .tabs > .tab-content { order: initial; width: auto; border-top: 1px solid var(--ui-line); }
#rl-app #V-PopupsCompose .tabs > input:checked + label + .tab-content { display: flex; flex-direction: column; }
#rl-app #V-PopupsCompose .textAreaParent { height: calc(100% - 40px); }
/* 12. Toolbar buttons: one box model for grouped and stand-alone buttons, flex-centred. */
#rl-app #wm-actions .btn, #rl-app #V-MailMessageList > .btn-toolbar .btn, #rl-app #V-MailMessageView .top-toolbar .btn,
#rl-app #wm-actions [data-i18n="[title]MESSAGE_LIST/NO_SORT"] { display: inline-flex !important; align-items: center; justify-content: center; width: 32px; height: 32px; line-height: 1; padding: 0; margin: 0; vertical-align: top; }
#rl-app #wm-actions .btn-group, #rl-app #V-MailMessageList > .btn-toolbar .btn-group, #rl-app #V-MailMessageView .top-toolbar .btn-group { display: inline-flex; align-items: center; height: 32px; vertical-align: top; }
#rl-app #wm-actions .btn::before, #rl-app #V-MailMessageList > .btn-toolbar .btn::before, #rl-app #V-MailMessageView .top-toolbar .btn::before,
#rl-app #wm-actions [data-i18n="[title]MESSAGE_LIST/NO_SORT"]::before { display: block; width: 16px; height: 16px; margin: 0; }
#rl-app :focus-visible { outline-offset: 0; }
/* 13. The list toolbar's own compose button came back as a black square: rule 12
       (display: inline-flex !important) out-ordered its display: none. Re-hide after it. */
#rl-app #V-MailMessageList > .btn-toolbar .buttonCompose { display: none !important; }
/* 14. Compose bottom bar: Send, Save and Discard share one flex-centred box. */
#rl-app #V-PopupsCompose header > .btn:first-child, #rl-app #V-PopupsCompose header .button-save, #rl-app #V-PopupsCompose header .button-delete {
  display: inline-flex !important; align-items: center; justify-content: center; line-height: 1; box-sizing: border-box; border: 0 !important; }
#rl-app #V-PopupsCompose header > .btn:first-child i { display: inline-flex; align-items: center; line-height: 0; }
#rl-app #V-PopupsCompose header > .btn:first-child i::before { display: block; }
#rl-app #V-PopupsCompose header .button-save::before, #rl-app #V-PopupsCompose header .button-delete::before { display: block; margin: 0; }
/* 15. Compose header right cluster: the options toggle lost its button border and lines up with Cc / Bcc. */
#rl-app #V-PopupsCompose header .pull-right { align-items: center; }
#rl-app #V-PopupsCompose header .pull-right > *, #rl-app #V-PopupsCompose header .pull-right .btn-group { display: inline-flex; align-items: center; justify-content: center; height: 32px; margin: 0; }
#rl-app #V-PopupsCompose header .pull-right .dropdown-toggle { border: 0 !important; box-shadow: none !important; line-height: 1; }
#rl-app #V-PopupsCompose header .pull-right .dropdown-toggle::before { display: block; }
/* 16. Compose tabs, done the app's way: labels first (order -1) on one line, the checked
       panel below at full width. Sign / encrypt / attach sit at the right end of that line. */
#rl-app #V-PopupsCompose .tabs { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; padding: 0 1.125rem; }
#rl-app #V-PopupsCompose .tabs > input { display: none; }
#rl-app #V-PopupsCompose .tabs > label { order: -1; flex: none; align-self: flex-start; height: 40px; line-height: 24px; box-sizing: border-box; outline: none !important; }
#rl-app #V-PopupsCompose .tabs > .tab-content { order: 0; flex: 1 0 100%; width: 100%; min-width: 100%; height: calc(100% - 40px); max-height: calc(100% - 40px); }
#rl-app #V-PopupsCompose .b-header { position: relative; }
#rl-app #V-PopupsCompose .b-header > div { position: absolute; right: 1.125rem; bottom: -40px; height: 40px; padding: 0; align-items: center; z-index: 2; }
/* 17. Reply: the quoted mail made the editor grow past the dialog and pushed the
       formatting bar out of sight. The editor scrolls inside itself; the bar stays under it. */
#rl-app #V-PopupsCompose .textAreaParent { overflow: hidden; height: 100%; }
#rl-app .squire-wysiwyg, #rl-app .squire-plain { flex: 1 1 0; min-height: 0; overflow-y: auto; }
#rl-app .squire-toolbar { flex: none; }
/* 18. Settings pane: readable measure instead of labels at one screen edge and controls at the other. */
#rl-app #V-SettingsPane { max-width: 880px; }
#rl-app #V-SettingsPane .control-group { justify-content: flex-start; gap: 1.5rem; }
#rl-app #V-SettingsPane .control-label { flex: 0 0 220px; }
#rl-app #V-SettingsPane .controls { flex: 1; }
/* 19. Pager centred: the app's paginator pushes itself to the right; neutralise that. */
#rl-app #V-MailMessageList .b-footer { justify-content: center; text-align: center; }
#rl-app .e-paginator { display: inline-flex; align-items: center; gap: .25rem; margin: 0 auto !important; float: none !important; }

/* 20. Compose, the preview layout: title row; From / To (+Cc Bcc contacts) / Subject; big editor;
       attachments panel and formatting bar only on demand; bottom bar = Send · T · clip · more ... saved · save · discard.
       app.js builds #wm-cbar from the app's own controls. The earlier absolute-positioning rules for header
       buttons stop matching once those buttons have moved, so these rules take over. */
#rl-app #V-PopupsCompose::after { content: none; }
#rl-app #V-PopupsCompose .modal-body { padding-bottom: 0; }
#rl-app #V-PopupsCompose header { min-height: 56px; padding: .5rem .75rem .5rem 1.125rem; border-bottom: 1px solid var(--ui-line); }
#rl-app #V-PopupsCompose header .pull-right { gap: .25rem; }
#rl-app #wm-cbar { flex: none; display: flex; align-items: center; gap: .5rem; padding: .75rem 1.125rem; border-top: 1px solid var(--ui-line); background: var(--ui-bg); }
#rl-app #wm-cbar .wm-spacer { flex: 1; }
#rl-app #wm-cbar > .btn[data-bind*="sendCommand"] { position: static; display: inline-flex !important; align-items: center; gap: .5rem; height: 40px; padding: 0 1.25rem; margin: 0;
  border-radius: 9999px; background: var(--ui-accent) !important; color: var(--ui-accent-ink) !important; border: 0 !important; box-shadow: none; font-weight: 500; font-size: 13px; line-height: 1; }
#rl-app #wm-cbar > .btn[data-bind*="sendCommand"] .hide-mobile { display: inline !important; }
#rl-app #wm-cbar > .btn[data-bind*="sendCommand"] i { display: inline-flex; align-items: center; line-height: 0; font-size: 0; }
#rl-app #wm-cbar > .btn[data-bind*="sendCommand"] i::before { content: "" !important; display: block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-send) center / 16px no-repeat; mask: var(--i-send) center / 16px no-repeat; }
#rl-app #wm-cbar .wm-cbtn, #rl-app #wm-cbar .btn-group.dropdown > .dropdown-toggle, #rl-app #wm-cbar .button-save, #rl-app #wm-cbar .button-delete {
  position: static; display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0;
  border: 0 !important; border-radius: 10px; background: none !important; box-shadow: none; color: var(--ui-muted) !important; font-size: 0; line-height: 1; cursor: pointer; }
#rl-app #wm-cbar .wm-cbtn svg { width: 16px; height: 16px; }
#rl-app #wm-cbar .wm-cbtn:hover, #rl-app #wm-cbar .dropdown-toggle:hover, #rl-app #wm-cbar .button-save:hover, #rl-app #wm-cbar .button-delete:hover { background: var(--ui-hover) !important; color: var(--ui-ink) !important; }
#rl-app #wm-cbar .wm-cbtn.on { background: var(--ui-active) !important; color: var(--ui-ink) !important; box-shadow: inset 0 0 0 1.5px var(--ui-unread); }
#rl-app #wm-cbar .btn-group.dropdown { position: relative; display: inline-flex; }
#rl-app #wm-cbar .dropdown-toggle::before { content: "" !important; display: block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-more) center / 16px no-repeat; mask: var(--i-more) center / 16px no-repeat; }
#rl-app #wm-cbar .dropdown-toggle::after { display: none; }
#rl-app #wm-cbar .dropdown-menu { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }
#rl-app #wm-cbar .button-save::before, #rl-app #wm-cbar .button-delete::before { content: "" !important; display: block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app #wm-cbar .button-save { --i: var(--i-save); }
#rl-app #wm-cbar .button-delete { --i: var(--i-trash); }
#rl-app #wm-cbar .button-delete:hover { color: var(--ui-danger) !important; }
#rl-app #wm-cbar .button-save i, #rl-app #wm-cbar .button-save .hide-mobile { display: none; }
#rl-app #wm-cbar .saved-text { position: static; display: inline !important; font-size: 12px; color: var(--ui-faint); margin-right: .25rem; }
/* To row tools */
#rl-app #V-PopupsCompose .b-header tr:nth-child(2) td:last-child { display: flex; align-items: center; gap: .25rem; }
#rl-app #V-PopupsCompose .b-header tr:nth-child(2) td:last-child > input { flex: 1; }
#rl-app #V-PopupsCompose .wm-to-tools { display: inline-flex; align-items: center; gap: .25rem; flex: none; }
#rl-app #V-PopupsCompose .wm-to-tools > .btn { display: inline-flex !important; align-items: center; justify-content: center; height: 28px; padding: 0 .5rem; margin: 0; border: 0 !important;
  background: none !important; box-shadow: none; border-radius: 8px; font-size: 12px; color: var(--ui-muted) !important; line-height: 1; }
#rl-app #V-PopupsCompose .wm-to-tools > .btn:hover { background: var(--ui-hover) !important; color: var(--ui-ink) !important; }
#rl-app #V-PopupsCompose .wm-to-tools > .btn.fontastic { width: 28px; padding: 0; font-size: 0; }
#rl-app #V-PopupsCompose .wm-to-tools > .btn.fontastic::before { content: "" !important; display: block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-contacts) center / 16px no-repeat; mask: var(--i-contacts) center / 16px no-repeat; }
/* sign / encrypt / attach group under the fields: sign + encrypt live in the options menu; attach moved into the panel */
#rl-app #V-PopupsCompose .b-header > div { display: none; }
/* tabs: labels hidden, the bottom-bar clip toggle switches panels */
#rl-app #V-PopupsCompose .tabs { padding: 0 1.125rem; }
#rl-app #V-PopupsCompose .tabs > label { display: none !important; }
#rl-app #V-PopupsCompose .tabs > .tab-content { height: 100%; max-height: 100%; border-top: 0; }
#rl-app #V-PopupsCompose .textAreaParent { height: 100%; }
#rl-app #V-PopupsCompose .attachmentAreaParent { display: flex; flex-direction: column; gap: .75rem; padding: 1rem 0; overflow: auto; }
#rl-app #V-PopupsCompose .wm-addfiles { display: inline-flex !important; align-items: center; gap: .5rem; align-self: flex-start; height: 36px; padding: 0 1rem; border: 1px solid var(--ui-line) !important;
  border-radius: 9999px; background: none !important; color: var(--ui-ink) !important; font-size: 13px; }
#rl-app #V-PopupsCompose .wm-addfiles::before { content: "" !important; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-clip) center / 16px no-repeat; mask: var(--i-clip) center / 16px no-repeat; }
#rl-app #V-PopupsCompose .wm-addfiles::after { content: "Add files"; }
#rl-app #V-PopupsCompose .b-attachment-place { padding: 1.25rem; text-align: center; }
/* formatting bar only when asked for */
#rl-app #V-PopupsCompose .squire-toolbar { display: none; }
#rl-app #V-PopupsCompose.wm-show-fmt .squire-toolbar { display: flex; }
#rl-app .squire-wysiwyg, #rl-app .squire-plain { padding: .875rem 0; }
/* 21. Address fields: the app wraps To / Cc / Bcc in a token widget (a div, not the input),
       and the flex To row shrank it to its content. Widget fills the row, no box. */
#rl-app #V-PopupsCompose .b-header td > div, #rl-app #V-PopupsCompose .b-header td > div > *, #rl-app #V-PopupsCompose .b-header td ul,
#rl-app #V-PopupsCompose .b-header .emailaddresses, #rl-app #V-PopupsCompose .b-header .e-addresses {
  border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0; padding: 0; margin: 0; min-height: 0; }
#rl-app #V-PopupsCompose .b-header tr:nth-child(2) td:last-child > div,
#rl-app #V-PopupsCompose .b-header tr:nth-child(2) td:last-child > input { flex: 1 1 auto; width: auto; min-width: 0; }
#rl-app #V-PopupsCompose .b-header td > div input { border: 0 !important; background: none !important; box-shadow: none !important; }
/* 22. Sidebar footer buttons: same flex-centred box as every other toolbar button. */
#rl-app .b-folders .b-footer .btn { display: inline-flex !important; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; margin: 0; line-height: 1; vertical-align: top; }
#rl-app .b-folders .b-footer .btn::before { display: block; margin: 0; }
#rl-app .b-folders .b-footer .btn-group { display: inline-flex; align-items: center; height: 32px; }
/* 23. Sidebar footer: rule 22 (display !important) resurrected the panel toggle there, which then
       drew as a second sliders icon. Hidden again, after it. Footer = create folder + configure only. */
#rl-app .b-folders .b-footer .toggleLeft { display: none !important; }
/* 24. To row: whatever element the app uses for the address widget takes the free width;
       Cc / Bcc / contacts are pushed to the right edge. */
#rl-app #V-PopupsCompose .b-header tr:nth-child(2) td:last-child > :not(.wm-to-tools) { flex: 1 1 auto !important; width: auto !important; min-width: 0; }
#rl-app #V-PopupsCompose .wm-to-tools { margin-left: auto; }

/* 25. Formatting bar (Squire): flat 28px buttons, readable selects, the preview's icons over the
       app's emoji glyphs. Buttons carry no class per action, so they are addressed by group id + position. */
:root {
  --i-link:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E");
  --i-upload:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m17 8-5-5-5 5M12 3v12'/%3E%3C/svg%3E");
  --i-undo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7v6h6'/%3E%3Cpath d='M21 17a9 9 0 0 0-15-6.7L3 13'/%3E%3C/svg%3E");
  --i-redo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 7v6h-6'/%3E%3Cpath d='M3 17a9 9 0 0 1 15-6.7L21 13'/%3E%3C/svg%3E");
  --i-code:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6M8 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-eraser:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 21-4.3-4.3a1 1 0 0 1 0-1.4l10-10a1 1 0 0 1 1.4 0l5.6 5.6a1 1 0 0 1 0 1.4L11 21'/%3E%3Cpath d='M22 21H7M5 11l9 9'/%3E%3C/svg%3E");
  --i-ltr:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h12M4 12h16M4 18h8'/%3E%3C/svg%3E");
  --i-rtl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h12M4 12h16M12 18h8'/%3E%3C/svg%3E");
  --i-quote:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15a3 3 0 0 0 3-3V6H4v6h3a2 2 0 0 1-2 2M15 15a3 3 0 0 0 3-3V6h-5v6h3a2 2 0 0 1-2 2'/%3E%3C/svg%3E");
  --i-outdent:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6h9M12 12h9M12 18h9M7 9l-4 3 4 3'/%3E%3C/svg%3E");
  --i-indent:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6h9M12 12h9M12 18h9M3 9l4 3-4 3'/%3E%3C/svg%3E");
}
#rl-app .squire-toolbar { gap: .125rem; padding: .5rem 0; }
#rl-app .squire-toolbar .btn-group { display: inline-flex; align-items: center; gap: .125rem; height: 28px; }
#rl-app .squire-toolbar .btn-group + .btn-group::before { content: ""; width: 1px; height: 18px; background: var(--ui-line); margin: 0 .375rem; }
#rl-app .squire-toolbar .btn {
  display: inline-flex !important; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 .375rem; margin: 0;
  border: 0 !important; border-radius: 7px; background: none !important; box-shadow: none !important; text-shadow: none;
  color: var(--ui-muted) !important; font-size: 13px; line-height: 1; vertical-align: top; cursor: pointer; }
#rl-app .squire-toolbar .btn:hover, #rl-app .squire-toolbar .btn.active { background: var(--ui-hover) !important; color: var(--ui-ink) !important; }
#rl-app .squire-toolbar select.btn { width: auto; min-width: 76px; padding: 0 1.5rem 0 .625rem; border: 1px solid var(--ui-line) !important; border-radius: 8px;
  background: var(--ui-bg) !important; font-size: 12px; color: var(--ui-ink) !important; appearance: auto; -webkit-appearance: auto; }
#rl-app .squire-toolbar input[type="color"] { width: 0; height: 0; opacity: 0; position: absolute; }
/* glyph -> SVG, by group and position */
#rl-app .squire-toolbar .wm-svg, #rl-app #squire-toolgroup-dir .btn, #rl-app #squire-toolgroup-colors .btn:nth-child(2),
#rl-app #squire-toolgroup-block .btn:nth-child(3), #rl-app #squire-toolgroup-block .btn:nth-child(4), #rl-app #squire-toolgroup-block .btn:nth-child(5),
#rl-app #squire-toolgroup-targets .btn, #rl-app #squire-toolgroup-changes .btn, #rl-app #squire-toolgroup-clear .btn { font-size: 0 !important; }
#rl-app #squire-toolgroup-dir .btn::before, #rl-app #squire-toolgroup-colors .btn:nth-child(2)::before,
#rl-app #squire-toolgroup-block .btn:nth-child(3)::before, #rl-app #squire-toolgroup-block .btn:nth-child(4)::before, #rl-app #squire-toolgroup-block .btn:nth-child(5)::before,
#rl-app #squire-toolgroup-targets .btn::before, #rl-app #squire-toolgroup-changes .btn::before, #rl-app #squire-toolgroup-clear .btn::before {
  content: ""; display: block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i) center / 16px no-repeat; mask: var(--i) center / 16px no-repeat; }
#rl-app #squire-toolgroup-dir .btn:nth-child(1) { --i: var(--i-ltr); }
#rl-app #squire-toolgroup-dir .btn:nth-child(2) { --i: var(--i-rtl); }
#rl-app #squire-toolgroup-colors .btn:nth-child(1) { font-size: 13px !important; font-weight: 600; }
#rl-app #squire-toolgroup-colors .btn:nth-child(1) sub { font-size: 9px; }
#rl-app #squire-toolgroup-colors .btn:nth-child(2) { --i: var(--i-paint); }
#rl-app #squire-toolgroup-inline .btn { font-weight: 600; }
#rl-app #squire-toolgroup-inline .btn sub, #rl-app #squire-toolgroup-inline .btn sup { font-size: 9px; }
/* lists keep text, like the preview: "1." and a bullet */
#rl-app #squire-toolgroup-block .btn:nth-child(1), #rl-app #squire-toolgroup-block .btn:nth-child(2) { font-size: 0 !important; }
#rl-app #squire-toolgroup-block .btn:nth-child(1)::before { content: "1."; font-size: 12px; font-weight: 600; }
#rl-app #squire-toolgroup-block .btn:nth-child(2)::before { content: "\2022"; font-size: 16px; font-weight: 700; }
#rl-app #squire-toolgroup-block .btn:nth-child(3) { --i: var(--i-quote); }
#rl-app #squire-toolgroup-block .btn:nth-child(4) { --i: var(--i-outdent); }
#rl-app #squire-toolgroup-block .btn:nth-child(5) { --i: var(--i-indent); }
#rl-app #squire-toolgroup-targets .btn:nth-child(1) { --i: var(--i-link); }
#rl-app #squire-toolgroup-targets .btn:nth-child(2) { --i: var(--i-image); }
#rl-app #squire-toolgroup-targets .btn:nth-child(3) { --i: var(--i-upload); }
#rl-app #squire-toolgroup-changes .btn:nth-child(1) { --i: var(--i-undo); }
#rl-app #squire-toolgroup-changes .btn:nth-child(2) { --i: var(--i-redo); }
#rl-app #squire-toolgroup-changes .btn:nth-child(3) { --i: var(--i-code); }
#rl-app #squire-toolgroup-clear .btn { --i: var(--i-eraser); }

/* 26. Attachments panel: shown by the bottom-bar clip toggle (class on the dialog), with the
       drop zone always visible and the app's own upload button as "Add files". The app only reveals
       its drop zone while a drag is in progress; here it is a permanent target. */
#rl-app #V-PopupsCompose .tabs > .tab-content.attachmentAreaParent { display: none !important; }
#rl-app #V-PopupsCompose.wm-show-att .tabs > .tab-content.attachmentAreaParent { display: flex !important; }
#rl-app #V-PopupsCompose.wm-show-att .tabs > .tab-content:not(.attachmentAreaParent) { display: none !important; }
#rl-app #V-PopupsCompose:not(.wm-show-att) .tabs > #tab-body:checked + label + .tab-content,
#rl-app #V-PopupsCompose:not(.wm-show-att) .tabs > .tab-content:first-of-type { display: flex !important; }
#rl-app #V-PopupsCompose .attachmentAreaParent { gap: .75rem; padding: 1rem 0; }
#rl-app #V-PopupsCompose .attachmentAreaParent .b-attachment-place { display: block !important; order: 1; margin: 0; padding: 1.5rem;
  border: 1px dashed var(--ui-line); border-radius: 12px; color: var(--ui-faint); font-size: 13px; text-align: center; }
#rl-app #V-PopupsCompose .attachmentAreaParent .b-attachment-place.dragAndDropOver { border-color: var(--ui-unread); color: var(--ui-ink); background: var(--ui-hover); }
#rl-app #V-PopupsCompose .attachmentAreaParent .wm-addfiles { order: 0; }
#rl-app #V-PopupsCompose .attachmentAreaParent .attachmentList { order: 2; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
#rl-app #V-PopupsCompose .attachmentAreaParent .no-attachments-desc { order: 3; font-size: 12px; color: var(--ui-faint); }
#rl-app #V-PopupsCompose .attachmentItem { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .75rem; margin: 0; border-radius: 10px; border: 1px solid var(--ui-line);
  background: none; box-shadow: none; line-height: 1.4; font-size: 13px; }
/* 27. Compose discard: the app disables it until a draft exists on the server (unsaved replies are
       discarded with the X). Show that state instead of a live-looking button that does nothing. */
#rl-app #wm-cbar .button-delete.disabled, #rl-app #wm-cbar .button-delete[disabled] { opacity: .35; cursor: default; pointer-events: none; }
#rl-app #wm-cbar .button-save.disabled { opacity: .35; cursor: default; }
/* 28. Compose dialog placement: an earlier rule made the dialog position: relative (for the old
       absolute bottom bar), which fought the modal top-layer centring. Centre it explicitly. */
#rl-app #V-PopupsCompose { position: fixed; inset: 0; margin: auto; }
/* 29. Attachments drop zone: the app draws it as an absolute overlay across the whole body; here it is
       a normal block inside the panel, so the file list and Add files stay visible next to it. */
#rl-app #V-PopupsCompose .attachmentAreaParent .b-attachment-place { position: static !important; inset: auto; height: auto; min-height: 96px;
  display: flex !important; align-items: center; justify-content: center; opacity: 1; background: none; }
/* 30. Which compose panel shows is decided here, not by the app's radio rules: text panel unless the
       clip toggle is on, attachments panel when it is. */
#rl-app #V-PopupsCompose .tabs > .tab-content { display: none !important; }
#rl-app #V-PopupsCompose:not(.wm-show-att) .tabs > .tab-content:not(.attachmentAreaParent):not(#mailvelope-editor) { display: flex !important; flex-direction: column; }
#rl-app #V-PopupsCompose.wm-show-att .tabs > .tab-content.attachmentAreaParent { display: flex !important; }
/* 31. "Add files": the app's own glyph inside the moved upload button is silenced; only the SVG + label show. */
#rl-app #V-PopupsCompose .wm-addfiles { font-size: 0 !important; }
#rl-app #V-PopupsCompose .wm-addfiles::after { font-size: 13px; }
#rl-app #V-PopupsCompose .wm-addfiles > * { display: none; }
/* 32. Formatting bar icons collapsed to 0 width: the pseudo-element was a shrinkable flex item inside a
       width-capped button. Pin it. Also keep the bar to one line and let it scroll if the dialog is narrow. */
#rl-app .squire-toolbar .btn::before { flex: none !important; width: 16px !important; min-width: 16px; height: 16px; }
#rl-app .squire-toolbar { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: .125rem; scrollbar-width: none; }
#rl-app .squire-toolbar::-webkit-scrollbar { display: none; }
#rl-app .squire-toolbar .btn { min-width: 26px; padding: 0 .25rem; }
#rl-app .squire-toolbar select.btn { min-width: 0; width: 72px; padding: 0 1.25rem 0 .5rem; }
#rl-app .squire-toolbar .btn-group + .btn-group::before { margin: 0 .25rem; }
/* 33. Formatting bar selects wide enough to read; "Add files" label in the UI font, not the icon font. */
#rl-app .squire-toolbar select.btn { width: 86px; font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif; }
#rl-app #V-PopupsCompose .wm-addfiles::after { font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 500; }

/* 34. Compose dialog wide enough for the whole formatting bar; the bar wraps instead of
       clipping (rule 32 hid the scrollbar of an overflowing single row). */
#rl-app #V-PopupsCompose { width: min(1160px, 96vw); }
#rl-app .squire-toolbar { flex-wrap: wrap; overflow: visible; row-gap: .25rem; }
#rl-app #V-PopupsCompose .b-header .btn-toolbar, #rl-app #wm-cbar { flex-wrap: wrap; }

/* 35. Reading pane: one row of icons (app.js moves the reply/more bar into .top-toolbar),
       sitting level with the list's search row like the preview; up/down pushed right.
       Pager centred: the app's nav is flex-grow 1 + justify-content end. */
#rl-app #V-MailMessageView .top-toolbar { margin-top: var(--ui-head); height: 69px; visibility: visible; }
#rl-app .top-toolbar .message-fixed-button-toolbar { padding: 0; margin: 0; display: inline-flex; align-items: center; gap: .25rem; position: static; }
#rl-app .top-toolbar .message-fixed-button-toolbar .btn-group, #rl-app .top-toolbar .message-fixed-button-toolbar span { display: inline-flex !important; align-items: center; gap: .25rem; margin: 0 !important; }
#rl-app .top-toolbar .message-fixed-button-toolbar .btn { width: 32px; height: 32px; margin: 0; }
#rl-app #V-MailMessageView .top-toolbar > .btn-group:last-child { margin-left: auto; }
#rl-app #V-MailMessageView .b-message .message-fixed-button-toolbar { display: none; }
#rl-app .messageList .b-footer nav { flex-grow: 0; justify-content: center; }
