/* Raden: IBM Plex Sans Arabic (client font), plum #66325F / gold #B08D57 (tokens: mail-branding/raden/tokens.json).
   Compact density (36px controls) intentionally skipped: would need many Elastic layout overrides. */
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "BrandFont"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bc-font: "BrandFont", Roboto, "Segoe UI", Tahoma, sans-serif;
  --bc-btn-bg: #66325f;   /* white text 9.6:1 */
  --bc-btn-fg: #ffffff;
  --bc-btn-hover: #55284f;
  --bc-link: #66325f;
  --bc-link-hover: #55284f;
  --bc-accent: #66325f;
  --bc-ring: rgba(102, 50, 95, .3);
  --bc-sel-bg: #f3e9f1;
  --bc-sel-fg: #271d25;
  --bc-menu-bg: #2b1230;
  --bc-menu-sel-bg: #43204a;
  --bc-menu-accent: #b08d57;
}
html.dark-mode {
  --bc-btn-bg: #7a3f72;   /* GUESS: lighter plum so the button reads on dark surfaces (white text 7.5:1) */
  --bc-btn-hover: #8e4d85;
  --bc-link: #c6a16c;
  --bc-link-hover: #d9b988;
  --bc-accent: #c6a16c;
  --bc-ring: rgba(198, 161, 108, .6);
  --bc-sel-bg: #3a2a3d;
  --bc-sel-fg: #c6a16c;
}
html.dark-mode { --bc-dk-bg: #1d0b21; --bc-dk-surface: #2b1230; --bc-dk-border: #4d2c54; }
html body #layout-menu #logo { content: url("raden/logo-small-dark.svg"); }
:root { --bc-page-bg: #faf7f2; --bc-card-border: #e0d9ce; --bc-card-top: #b08d57; --bc-card-radius: 10px; --bc-outline: #b08d57; --bc-logo-scale: .92; }
html.dark-mode { --bc-card-top: #c6a16c; --bc-outline: #c6a16c; }
html body.task-login #logo { content: url("raden/logo-lockup.svg"); }
html.dark-mode body.task-login #logo { content: url("raden/logo-lockup-dark.svg"); }
html body.task-login #login-form #login-footer { color: #8a6a35; }
html.dark-mode body.task-login #login-form #login-footer { color: #c6a16c; }
