@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@700;800&family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
/* Dr Mixture theme for Chatwoot (generated by build-theme.js from Sarrdeh's theme).
   Loaded after the app stylesheet from /brand/brand.css.

   1. Tokens          Sarrdeh tokens, then Chatwoot's colour scales mapped onto them
   2. Base            canvas, type, focus, scrollbars
   3. Shell           the four floating panels
   4. Sidebar         global navigation
   5. Inbox list      header, filters, conversation cards
   6. Conversation    header, notice, canvas, bubbles, rich cards
   7. Composer        mode switch, editor, toolbar, send
   8. Contact panel   identity, key/value rows, accordions, labels
   9. Shared pieces   buttons, menus, tooltips, modals, empty states
   10. Responsive and motion

   Light is the default; dark applies when Chatwoot puts .dark on <body>
   (the inline script in the layout mirrors it onto <html> before first paint). */

/* ------------------------------------------------------------------ 1. Tokens */

:root {
  color-scheme: light;
  accent-color: #60253e;

  --ink: #242119;
  --ink-soft: #5a523f;
  --muted: #8f8264;
  --line: #ebe3d3;
  --line-soft: #f5f0e5;
  --paper: #fcfaf6;
  --paper-2: #ffffff;
  --canvas: #f8f5ec;
  --teal: #60253e;
  --teal-mid: #94385e;
  --teal-soft: #f5e8ed;
  --teal-wash: #f9f1f4;
  --teal-edge: rgba(96, 37, 62, 0.16);
  --danger-bg: #fff6f6;
  --danger-line: #efdada;
  --danger-ink: #8a3b3b;
  --warning-bg: #fffaf0;
  --warning-line: #eadfbe;
  --warning-ink: #84651f;
  --success-bg: #f9f1f4;
  --success-line: rgba(96, 37, 62, 0.18);
  --success-ink: #60253e;
  --unread: #dc2626;
  --on-primary: #ffffff;
  --media-bg: #faf7f1;
  --logo-ink: #af597d;
  --overlay-ink: rgba(175, 89, 125, 0.09);
  --tooltip-bg: #242119;
  --tooltip-ink: #fcfaf6;
  --focus-line: rgba(96, 37, 62, 0.42);
  --focus-ring: rgba(148, 56, 94, 0.12);

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --radius-control: 10px;
  --radius-pill: 999px;

  --shadow-panel: 0 12px 36px rgba(36, 33, 25, 0.06);
  --shadow-card: 0 4px 16px rgba(36, 33, 25, 0.045);
  --shadow-floating: 0 18px 50px rgba(36, 33, 25, 0.08);

  --ease: 140ms ease;
  --font-ui: "LBC", "Segoe UI", Tahoma, Arial, sans-serif;

  /* Chatwoot scales, light */
  --brand: 96 37 62;

  --slate-1: 248 245 236;
  --slate-2: 252 250 246;
  --slate-3: 249 246 238;
  --slate-4: 245 240 229;
  --slate-5: 235 227 211;
  --slate-6: 214 209 196;
  --slate-7: 193 184 165;
  --slate-8: 171 160 135;
  --slate-9: 143 130 100;
  --slate-10: 143 130 100;
  --slate-11: 90 82 63;
  --slate-12: 36 33 25;

  --gray-1: 248 245 236;
  --gray-2: 252 250 246;
  --gray-3: 249 246 238;
  --gray-4: 245 240 229;
  --gray-5: 235 227 211;
  --gray-6: 214 209 196;
  --gray-7: 193 184 165;
  --gray-8: 171 160 135;
  --gray-9: 143 130 100;
  --gray-10: 143 130 100;
  --gray-11: 90 82 63;
  --gray-12: 36 33 25;

  --blue-1: 252 248 249;
  --blue-2: 249 241 244;
  --blue-3: 245 232 237;
  --blue-4: 237 212 222;
  --blue-5: 225 189 204;
  --blue-6: 210 159 180;
  --blue-7: 187 119 147;
  --blue-8: 156 59 99;
  --blue-9: 96 37 62;
  --blue-10: 85 32 54;
  --blue-11: 96 37 62;
  --blue-12: 51 19 32;

  --teal-1: 252 248 249;
  --teal-2: 249 241 244;
  --teal-3: 245 232 237;
  --teal-4: 237 212 222;
  --teal-5: 225 189 204;
  --teal-6: 210 159 180;
  --teal-7: 187 119 147;
  --teal-8: 156 59 99;
  --teal-9: 96 37 62;
  --teal-10: 85 32 54;
  --teal-11: 96 37 62;
  --teal-12: 51 19 32;

  --iris-1: 252 248 249;
  --iris-2: 249 241 244;
  --iris-3: 245 232 237;
  --iris-4: 237 212 222;
  --iris-5: 225 189 204;
  --iris-6: 210 159 180;
  --iris-7: 187 119 147;
  --iris-8: 156 59 99;
  --iris-9: 96 37 62;
  --iris-10: 85 32 54;
  --iris-11: 96 37 62;
  --iris-12: 51 19 32;

  --violet-1: 252 248 249;
  --violet-2: 249 241 244;
  --violet-3: 245 232 237;
  --violet-4: 237 212 222;
  --violet-5: 225 189 204;
  --violet-6: 210 159 180;
  --violet-7: 187 119 147;
  --violet-8: 156 59 99;
  --violet-9: 96 37 62;
  --violet-10: 85 32 54;
  --violet-11: 96 37 62;
  --violet-12: 51 19 32;

  --ruby-1: 255 252 252;
  --ruby-2: 255 246 246;
  --ruby-3: 253 238 238;
  --ruby-4: 250 226 226;
  --ruby-5: 239 218 218;
  --ruby-6: 233 196 196;
  --ruby-7: 222 166 166;
  --ruby-8: 206 124 126;
  --ruby-9: 220 38 38;
  --ruby-10: 196 32 32;
  --ruby-11: 176 52 52;
  --ruby-12: 138 59 59;

  --amber-1: 255 253 248;
  --amber-2: 255 250 240;
  --amber-3: 252 244 222;
  --amber-4: 246 236 204;
  --amber-5: 234 223 190;
  --amber-6: 226 208 160;
  --amber-7: 212 186 122;
  --amber-8: 196 162 80;
  --amber-9: 204 148 34;
  --amber-10: 184 130 24;
  --amber-11: 132 101 31;
  --amber-12: 96 72 18;

  --background-color: 248 245 236;
  --surface-1: 255 255 255;
  --surface-2: 252 250 246;
  --surface-active: 249 241 244;
  --background-input-box: 36, 33, 25, 0.02;
  --text-blue: 96 37 62;
  --text-purple: 96 37 62;
  --text-amber: 132 101 31;
  --border-container: 245, 240, 229, 1;
  --border-strong: 235 227 211;
  --border-weak: 245 240 229;
  --border-blue-strong: 96 37 62;
  --solid-1: 255 255 255;
  --solid-2: 255 255 255;
  --solid-3: 252 250 246;
  --solid-active: 249 246 238;
  --solid-amber: 255 250 240;
  --solid-blue: 245 232 237;
  --solid-blue-2: 249 241 244;
  --solid-iris: 249 241 244;
  --solid-purple: 249 241 244;
  --solid-red: 253 238 238;
  --solid-amber-button: 246 236 204;
  --card-color: 255 255 255;
  --overlay: 36, 33, 25, 0.3;
  --overlay-avatar: 255, 255, 255, 0.6;
  --button-color: 255 255 255;
  --button-hover-color: 36, 33, 25, 0.04;
  --label-background: 252 250 246;
  --label-border: 36, 33, 25, 0.08;
  --alpha-1: 36, 33, 25, 0.035;
  --alpha-2: 36, 33, 25, 0.06;
  --alpha-3: 255, 255, 255, 1;
  --black-alpha-1: 36, 33, 25, 0.06;
  --black-alpha-2: 36, 33, 25, 0.04;
  --border-blue: 96, 37, 62, 0.4;
  --white-alpha: 255, 255, 255, 0.8;
  --call-widget: 255, 255, 255, 0.98;
  --call-widget-border: 36, 33, 25, 0.08;
  --call-widget-text: 36, 33, 25, 1;
  --call-widget-sub-text: 143, 130, 100, 1;

  /* Dr Mixture: exact brand values. Cream surfaces, plum ink; plum carries links and filled buttons
     (cream text on it); terracotta is only the unread badge, darkened for white text. */
  accent-color: #54263B;
  --ink: #3A1727;
  --ink-soft: #5b3f4d;
  --muted: #705a64; /* 5.5:1 on the lightest cream panel */
  --line: #e0d5c1;
  --line-soft: #ebe2d0;
  --paper: #FBF7EC;
  --paper-2: #fffdf8;
  --canvas: #F6F0E2;
  --media-bg: #f1eadb;
  --tooltip-bg: #3A1727;
  --tooltip-ink: #FBF7EC;
  --teal: #54263B;
  --teal-mid: #6b3550;
  --teal-soft: #efe4d8;
  --teal-wash: #f7efe2;
  --teal-edge: rgba(84, 38, 59, 0.2);
  --danger-bg: #fbeee8;
  --danger-line: #ecc9bc;
  --danger-ink: #8c3a22;
  --warning-bg: #faf3da;
  --warning-line: #e6d8a2;
  --warning-ink: #6f5413;
  --success-bg: #e8f0e4;
  --success-line: rgba(40, 75, 59, 0.22);
  --success-ink: #284B3B;
  --unread: #A8492A;
  --on-primary: #FBF7EC;
  --logo-ink: #62132D;
  --overlay-ink: rgba(84, 38, 59, 0.06);
  --focus-line: rgba(84, 38, 59, 0.6);
  --focus-ring: rgba(84, 38, 59, 0.16);
  --font-ui: "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-heading: "Baloo Bhaijaan 2", "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  /* Profile circles (components-next/avatar/Avatar.vue reads these). */
  --avatar-bg: #ecdfd2;
  --avatar-text: #54263B;
  --avatar-default-bg: #efe8d9;
  --avatar-default-text: #6a5560;
  --brand: 84 38 59;
  --blue-8: 124 66 94;
  --blue-9: 84 38 59;
  --blue-10: 68 29 47;
  --blue-11: 84 38 59;
  --teal-8: 124 66 94;
  --teal-9: 84 38 59;
  --teal-10: 68 29 47;
  --teal-11: 84 38 59;
  --iris-8: 124 66 94;
  --iris-9: 84 38 59;
  --iris-10: 68 29 47;
  --iris-11: 84 38 59;
  --violet-8: 124 66 94;
  --violet-9: 84 38 59;
  --violet-10: 68 29 47;
  --violet-11: 84 38 59;
  --text-blue: 84 38 59;
  --text-purple: 84 38 59;
  --border-blue-strong: 84 38 59;
}

html.dark,
body.dark {
  color-scheme: dark;
  accent-color: #bbca37;

  --ink: #f2e8ec;
  --ink-soft: #cbb8c0;
  --muted: #9c818c;
  --line: #422933;
  --line-soft: #321e26;
  --paper: #1c1015;
  --paper-2: #23151b;
  --canvas: #140c0f;
  --teal: #bbca37;
  --teal-mid: #c3d42d;
  --teal-soft: #393d14;
  --teal-wash: #2b2f10;
  --teal-edge: rgba(187, 202, 55, 0.2);
  --danger-bg: #311d20;
  --danger-line: #573034;
  --danger-ink: #e9a2a8;
  --warning-bg: #2a2416;
  --warning-line: #4a3f22;
  --warning-ink: #e0c684;
  --success-bg: #2b2f10;
  --success-line: rgba(187, 202, 55, 0.22);
  --success-ink: #bbca37;
  --unread: #e5484d;
  --on-primary: #1e2106;
  --media-bg: #190f13;
  --logo-ink: #ffffff;
  --overlay-ink: rgba(255, 255, 255, 0.045);
  --tooltip-bg: #f2e8ec;
  --tooltip-ink: #26171d;
  --focus-line: rgba(187, 202, 55, 0.5);
  --focus-ring: rgba(195, 212, 45, 0.14);

  --shadow-panel: 0 12px 36px rgba(0, 0, 0, 0.16);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.18);
  --shadow-floating: 0 18px 50px rgba(0, 0, 0, 0.32);

  /* Chatwoot scales, dark */
  --brand: 187 202 55;

  --slate-1: 20 12 15;
  --slate-2: 28 16 21;
  --slate-3: 35 21 27;
  --slate-4: 50 30 38;
  --slate-5: 66 41 51;
  --slate-6: 81 53 65;
  --slate-7: 107 77 89;
  --slate-8: 132 103 115;
  --slate-9: 156 129 140;
  --slate-10: 156 129 140;
  --slate-11: 203 184 192;
  --slate-12: 242 232 236;

  --gray-1: 20 12 15;
  --gray-2: 28 16 21;
  --gray-3: 35 21 27;
  --gray-4: 50 30 38;
  --gray-5: 66 41 51;
  --gray-6: 81 53 65;
  --gray-7: 107 77 89;
  --gray-8: 132 103 115;
  --gray-9: 156 129 140;
  --gray-10: 156 129 140;
  --gray-11: 203 184 192;
  --gray-12: 242 232 236;

  --blue-1: 23 14 18;
  --blue-2: 43 47 16;
  --blue-3: 57 61 20;
  --blue-4: 69 74 24;
  --blue-5: 83 89 30;
  --blue-6: 99 106 34;
  --blue-7: 121 130 40;
  --blue-8: 148 160 45;
  --blue-9: 187 202 55;
  --blue-10: 195 212 45;
  --blue-11: 207 220 94;
  --blue-12: 243 246 214;

  --teal-1: 23 14 18;
  --teal-2: 43 47 16;
  --teal-3: 57 61 20;
  --teal-4: 69 74 24;
  --teal-5: 83 89 30;
  --teal-6: 99 106 34;
  --teal-7: 121 130 40;
  --teal-8: 148 160 45;
  --teal-9: 187 202 55;
  --teal-10: 195 212 45;
  --teal-11: 207 220 94;
  --teal-12: 243 246 214;

  --iris-1: 23 14 18;
  --iris-2: 43 47 16;
  --iris-3: 57 61 20;
  --iris-4: 69 74 24;
  --iris-5: 83 89 30;
  --iris-6: 99 106 34;
  --iris-7: 121 130 40;
  --iris-8: 148 160 45;
  --iris-9: 187 202 55;
  --iris-10: 195 212 45;
  --iris-11: 207 220 94;
  --iris-12: 243 246 214;

  --violet-1: 23 14 18;
  --violet-2: 43 47 16;
  --violet-3: 57 61 20;
  --violet-4: 69 74 24;
  --violet-5: 83 89 30;
  --violet-6: 99 106 34;
  --violet-7: 121 130 40;
  --violet-8: 148 160 45;
  --violet-9: 187 202 55;
  --violet-10: 195 212 45;
  --violet-11: 207 220 94;
  --violet-12: 243 246 214;

  --ruby-1: 25 17 19;
  --ruby-2: 38 23 26;
  --ruby-3: 49 29 32;
  --ruby-4: 66 36 40;
  --ruby-5: 87 48 52;
  --ruby-6: 105 58 63;
  --ruby-7: 136 72 80;
  --ruby-8: 179 90 100;
  --ruby-9: 229 72 77;
  --ruby-10: 236 93 94;
  --ruby-11: 233 162 168;
  --ruby-12: 250 220 224;

  --amber-1: 22 19 12;
  --amber-2: 30 26 16;
  --amber-3: 42 36 22;
  --amber-4: 58 48 26;
  --amber-5: 74 63 34;
  --amber-6: 96 80 40;
  --amber-7: 124 102 50;
  --amber-8: 160 130 62;
  --amber-9: 226 176 76;
  --amber-10: 236 190 96;
  --amber-11: 224 198 132;
  --amber-12: 245 230 196;

  --background-color: 20 12 15;
  --surface-1: 28 16 21;
  --surface-2: 35 21 27;
  --surface-active: 43 47 16;
  --background-input-box: 255, 255, 255, 0.03;
  --text-blue: 207 220 94;
  --text-purple: 207 220 94;
  --text-amber: 224 198 132;
  --border-container: 50, 30, 38, 1;
  --border-strong: 66 41 51;
  --border-weak: 50 30 38;
  --border-blue-strong: 187 202 55;
  --solid-1: 28 16 21;
  --solid-2: 35 21 27;
  --solid-3: 42 24 32;
  --solid-active: 50 30 38;
  --solid-amber: 42 36 22;
  --solid-blue: 57 61 20;
  --solid-blue-2: 43 47 16;
  --solid-iris: 43 47 16;
  --solid-purple: 43 47 16;
  --solid-red: 49 29 32;
  --solid-amber-button: 74 63 34;
  --card-color: 35 21 27;
  --overlay: 8, 9, 3, 0.6;
  --overlay-avatar: 20, 12, 15, 0.55;
  --button-color: 35 21 27;
  --button-hover-color: 255, 255, 255, 0.06;
  --label-background: 35 21 27;
  --label-border: 255, 255, 255, 0.08;
  --alpha-1: 255, 255, 255, 0.04;
  --alpha-2: 255, 255, 255, 0.07;
  --alpha-3: 35, 21, 27, 1;
  --black-alpha-1: 0, 0, 0, 0.3;
  --black-alpha-2: 0, 0, 0, 0.18;
  --border-blue: 187, 202, 55, 0.5;
  --white-alpha: 255, 255, 255, 0.08;
  --call-widget: 35, 21, 27, 0.98;
  --call-widget-border: 255, 255, 255, 0.1;
  --call-widget-text: 242, 232, 236, 1;
  --call-widget-sub-text: 156, 129, 140, 1;

  /* Dr Mixture dark: deep plum surfaces, cream text, lime for focus/active accents and filled
     buttons (plum text on lime, never white). */
  accent-color: #C7D45B;
  --ink: #F6F0E2;
  --ink-soft: #d6c9c6;
  --muted: #b29fa7;
  --paper: #1f1119;
  --paper-2: #26151f;
  --canvas: #150a10;
  --teal: #C7D45B;
  --teal-mid: #DCE58A;
  --teal-soft: #343a1d;
  --teal-wash: #2a2d19;
  --teal-edge: rgba(199, 212, 91, 0.24);
  --danger-bg: #3a1c1c;
  --danger-line: #62302c;
  --danger-ink: #f0b3a4;
  --warning-bg: #2f2813;
  --warning-line: #52451f;
  --warning-ink: #e3cb84;
  --success-bg: #1B3328;
  --success-line: rgba(143, 203, 168, 0.28);
  --success-ink: #8FCBA8;
  --unread: #A8492A;
  --on-primary: #54263B;
  --logo-ink: #F6F0E2;
  --focus-line: rgba(199, 212, 91, 0.6);
  --focus-ring: rgba(199, 212, 91, 0.16);
  --font-ui: "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-heading: "Baloo Bhaijaan 2", "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --avatar-dark-bg: #3a2030;
  --avatar-dark-text: #DCE58A;
  --brand: 199 212 91;
  --blue-9: 199 212 91;
  --blue-10: 220 229 138;
  --blue-11: 220 229 138;
  --blue-12: 240 244 205;
  --teal-9: 199 212 91;
  --teal-10: 220 229 138;
  --teal-11: 220 229 138;
  --teal-12: 240 244 205;
  --iris-9: 199 212 91;
  --iris-10: 220 229 138;
  --iris-11: 220 229 138;
  --iris-12: 240 244 205;
  --violet-9: 199 212 91;
  --violet-10: 220 229 138;
  --violet-11: 220 229 138;
  --violet-12: 240 244 205;
  --text-blue: 220 229 138;
  --text-purple: 220 229 138;
  --border-blue-strong: 199 212 91;
}

/* -------------------------------------------------------------------- 2. Base */

html,
body,
#app {
  font-family: var(--font-ui) !important;
  color: var(--ink);
}

html,
body {
  background: var(--canvas);
}

html.dark,
html.dark body,
body.dark {
  background: var(--canvas);
}

#app {
  background: transparent !important;
}

::selection {
  background: rgba(148, 56, 94, 0.24);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #d6d1c5 transparent;
}
body.dark * {
  scrollbar-color: #4b323c transparent;
}

a:focus-visible,
button:focus-visible,
[role="tab"]:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--focus-line);
  outline-offset: 2px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]),
textarea,
select {
  border-radius: var(--radius-control);
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus,
textarea:focus,
select:focus {
  outline-color: var(--focus-line);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

p a,
.text-n-brand {
  color: var(--teal);
}

/* Solid teal fills carry dark text in dark mode, where the teal is light. */
body.dark .bg-n-brand.text-white,
body.dark .bg-n-brand > .text-white {
  color: var(--on-primary);
}

/* ------------------------------------------------------------------- 3. Shell */

#app > .flex.flex-grow {
  background: transparent !important;
}

@media (min-width: 768px) {
  #app > .flex.flex-grow {
    padding: 10px;
    gap: 10px;
  }

  #app > .flex.flex-grow > aside,
  #app > .flex.flex-grow > main {
    border: 1px solid var(--line-soft) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
  }

  /* Conversation routes: the list, thread and contact panel float separately,
     so the surrounding <main> gives up its own surface. */
  #app > .flex.flex-grow > main:has(> section.flex.w-full.h-full) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  main > section.flex.w-full.h-full {
    gap: 10px;
  }

  main > section.flex.w-full.h-full > .conversations-list-wrap,
  main > section.flex.w-full.h-full > .conversation-details-wrap,
  main > section.flex.w-full.h-full > div.max-w-sm {
    border: 1px solid var(--line-soft) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
  }

  main > section.flex.w-full.h-full > div.max-w-sm {
    overflow: hidden;
  }

  .conversations-list-wrap:not(.basis-full) {
    width: 360px;
  }
  .conversations-list {
    border-end-start-radius: 17px;
    border-end-end-radius: 17px;
  }
}

@media (min-width: 1536px) {
  .conversations-list-wrap:not(.basis-full) {
    width: 384px;
  }
  main > section.flex.w-full.h-full > div.max-w-sm {
    width: 340px;
    min-width: 340px;
  }
}

#app > .flex.flex-grow > aside,
#app > .flex.flex-grow > main {
  background: var(--paper-2) !important;
}

.conversations-list-wrap,
main > section.flex.w-full.h-full > div.max-w-sm {
  background: var(--paper-2) !important;
}

.conversation-details-wrap {
  background: var(--paper) !important;
}

/* ----------------------------------------------------------------- 4. Sidebar */

@media (min-width: 768px) {
  aside:has(.sd-logo-tile) {
    min-width: 224px;
    max-width: 248px;
  }
}

aside:has(.sd-logo-tile) > section.grid > div.flex {
  padding-inline: 12px;
}
aside:has(.sd-logo-tile) > nav {
  padding-inline: 10px;
}

/* Full Sarrdeh logo, tinted per theme through a mask. */
.sd-logo-tile {
  width: 150px;
  height: 66px;
  background: var(--logo-ink);
  -webkit-mask: url(/brand/sarrdeh-logo.svg?v=dm1) center / contain no-repeat;
  mask: url(/brand/sarrdeh-logo.svg?v=dm1) center / contain no-repeat;
}
.sd-logo {
  display: none;
}

#sidebar-account-switcher {
  height: 36px;
  border-radius: var(--radius-control);
}
#sidebar-account-switcher > span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.sd-theme-toggle {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--ink-soft);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.sd-theme-toggle:hover {
  background: var(--teal-wash);
  border-color: var(--teal-edge);
  color: var(--teal);
}

.sd-search {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper-2);
  font-size: 12.5px;
  color: var(--muted);
}
.sd-search:hover,
.sd-search:focus-visible {
  border-color: var(--focus-line);
  box-shadow: 0 0 0 3px var(--focus-ring);
  outline: none;
}

.sd-nav-item {
  border-radius: var(--radius-control);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  transition: background-color var(--ease), color var(--ease);
}
.sd-nav-item .truncate,
.sd-nav-item .text-sm,
.sd-nav-item .text-body-main {
  font-size: 13px;
}
.sd-nav-item [class^="i-"],
.sd-nav-item [class*=" i-"] {
  color: var(--muted);
  transition: color var(--ease);
}
.sd-nav-item:hover {
  background: var(--teal-wash);
  color: var(--ink);
}
.sd-nav-item--parent {
  color: var(--ink);
  font-weight: 600;
}
.sd-nav-item--active,
.sd-nav-item--active:hover {
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 600;
}
.sd-nav-item--active [class^="i-"],
.sd-nav-item--active [class*=" i-"] {
  color: var(--teal);
}

.sd-nav-leaf {
  padding-inline-start: 26px;
}
aside nav li li li.sd-nav-leaf {
  padding-inline-start: 6px;
}

.sd-nav-heading {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
:lang(ar) .sd-nav-heading {
  letter-spacing: 0;
}

/* Flat grouped navigation: no connector lines. */
aside nav [class*="before:"]::before,
aside nav [class*="after:"]::after {
  content: none !important;
}

.sd-count {
  background: var(--unread);
  color: #ffffff;
}

aside > section:last-of-type > .pointer-events-none {
  display: none;
}
aside > section:last-of-type > div.border-t {
  box-shadow: none;
  padding: 8px;
}

/* Under Conversations keep "All conversations" and the channel list only. */
aside nav > ul > li:has(a[href$="/dashboard"]) > ul > li:has(> a[href$="/mentions/conversations"]),
aside nav > ul > li:has(a[href$="/dashboard"]) > ul > li:has(> a[href$="/participating/conversations"]),
aside nav > ul > li:has(a[href$="/dashboard"]) > ul > li:has(> a[href$="/unattended/conversations"]),
aside nav > ul > li:has(a[href$="/dashboard"]) > ul > li.group\/sidebar-section:not(:has(a[href*="/inbox/"])) {
  display: none !important;
}
aside div.fixed.z-\[100\] ul > li:nth-child(n+2):nth-child(-n+4):not(:has(ul)) {
  display: none !important;
}

/* -------------------------------------------------------------- 5. Inbox list */

.sd-panel-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.sd-channel-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-inline-end: 8px;
  border-radius: 6px;
  object-fit: contain;
}

.sd-tabs {
  align-items: center;
  margin-bottom: 4px;
}
.sd-tab {
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-control);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color var(--ease), color var(--ease);
}
.sd-tab:hover {
  background: var(--teal-wash);
}
.sd-tab--active,
.sd-tab--active:hover {
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 600;
}

.conversation {
  margin: 2px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color var(--ease), border-color var(--ease);
}
.conversation > div.flex-1 {
  padding-block: 10px;
}
.conversation:hover {
  background: var(--paper);
  border-color: var(--line-soft);
}
.conversation.active,
.conversation.active:hover {
  background: var(--teal-wash);
  border-color: var(--teal-edge);
}
.conversation.selected {
  background: var(--teal-wash);
}
.conversation--compact {
  margin-inline: 4px;
  padding-inline: 8px;
}

.conversation .conversation--user {
  font-size: 13.5px;
  color: var(--ink);
}
.conversation .conversation--user ~ .leading-6 {
  font-size: 12.5px;
  line-height: 1.5rem;
  color: var(--ink-soft);
}
.conversation.unread .conversation--user ~ .leading-6 {
  color: var(--ink);
}
.conversation .leading-4.text-xxs {
  font-size: 10.5px;
  color: var(--muted);
}

.sd-unread {
  background: var(--unread);
  color: #ffffff;
}

.conversations-list-wrap > p.flex.justify-center {
  margin: 12px;
  padding: 20px 16px;
  border: 1px dashed var(--teal-edge);
  border-radius: var(--radius-sm);
  background: var(--teal-wash);
  color: var(--ink-soft);
  font-size: 12.5px;
  text-align: center;
}

/* ------------------------------------------------------------ 6. Conversation */

.sd-conversation-header {
  background: var(--paper-2);
}
@media (min-width: 768px) {
  .sd-conversation-header {
    border-start-start-radius: 17px;
    border-start-end-radius: 17px;
  }
}

.sd-contact-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.conversation--header--actions {
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}
.conversation--header--actions .text-label-small,
.conversation--header--actions .text-n-slate-11 {
  color: var(--muted);
}

/* Status control: a quiet secondary control, not a call to action. */
.resolve-actions > .shadow {
  box-shadow: none;
  border-radius: var(--radius-control);
  outline-color: var(--line) !important;
  background: var(--paper-2);
}
.resolve-actions > .shadow button {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* Reply restriction and other inline alerts */
.banner.alert {
  background: var(--danger-bg) !important;
  color: var(--danger-ink) !important;
  border-block-end: 1px solid var(--danger-line);
}
.banner.alert a {
  color: inherit !important;
  font-weight: 600;
  margin-inline-start: 4px;
}
.banner.warning {
  background: var(--warning-bg) !important;
  color: var(--warning-ink) !important;
  border-block-end: 1px solid var(--warning-line);
}
.banner.warning a {
  color: inherit !important;
}
.banner .banner-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-inline-end: 8px;
}
.banner.sd-notice {
  height: auto !important;
  min-height: 0;
  margin: 8px 12px 0;
  padding: 8px 12px !important;
  justify-content: flex-start !important;
  border: 1px solid var(--danger-line);
  border-radius: var(--radius-control);
  font-size: 12px;
  line-height: 1.45;
}

/* Message canvas */
.conversation-panel {
  background: transparent !important;
  padding-inline: 22px !important;
}
.conversation-details-wrap .bg-n-surface-1 {
  background-color: transparent;
}

.message-bubble-container {
  margin-bottom: 14px;
}
.message-bubble-container.group-with-next {
  margin-bottom: 4px;
}

.sd-bubble {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.55;
}
.sd-bubble--in {
  background: var(--paper-2);
  border-color: var(--line-soft);
}
.sd-bubble--out {
  background: var(--teal-soft);
  border-color: var(--teal-edge);
}
.sd-bubble--note {
  background: var(--warning-bg);
  border-color: var(--warning-line);
  color: var(--ink);
}
.sd-bubble-meta--note {
  color: var(--warning-ink);
}
.sd-bubble .prose,
.sd-bubble .prose p {
  unicode-bidi: plaintext;
}

.sd-quote {
  border-inline-start: 3px solid var(--teal-mid);
  border-radius: 8px;
  background: var(--teal-wash);
}

/* Rich social card: header, media, footer */
.sd-social-card,
.sd-social-card.sd-bubble {
  width: 380px;
  max-width: min(420px, 100%);
  padding: 0;
  background: var(--paper-2);
  border-color: var(--line-soft);
  border-radius: 16px !important;
  box-shadow: var(--shadow-card);
}
.sd-social-card__header {
  padding: 12px 14px 10px;
}
.sd-social-card__source {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.sd-social-card__context {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}
.sd-social-card__text {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink);
  unicode-bidi: plaintext;
}
.sd-social-card__media {
  display: grid;
  place-items: center;
  min-height: 160px;
  background: var(--media-bg);
  border-block: 1px solid var(--line-soft);
}
.sd-social-card__media img,
.sd-social-card__media video {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}
.sd-social-card__missing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  font-size: 12px;
}
.sd-social-card > :last-child:not(.sd-social-card__media) {
  margin: 0;
  padding: 8px 14px 10px;
}
.sd-social-card > .sd-quote {
  margin: 10px 12px 0;
}
.sd-social-card > .sd-social-card__media:last-child {
  border-block-end: 0;
}

/* Image and video attachments */
[data-bubble-name="image"] .rounded-lg,
[data-bubble-name="video"] .rounded-lg {
  background: var(--media-bg);
  border-radius: var(--radius-sm);
}
[data-bubble-name="image"] img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------------------------------------------------------------- 7. Composer */

div.reply-box {
  margin: 0 12px 12px !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--radius-lg) !important;
  background: var(--paper-2) !important;
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}
div.reply-box.is-focused {
  border-color: var(--focus-line) !important;
  box-shadow: 0 0 0 3px var(--focus-ring);
}
div.reply-box.is-private {
  background: var(--teal-wash) !important;
  border-color: var(--success-line) !important;
}
.reply-box .ProseMirror,
.reply-box textarea {
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow: none !important;
  outline: none !important;
}
.reply-box .ProseMirror p.is-editor-empty:first-child::before,
.reply-box [data-placeholder]::before {
  color: var(--muted) !important;
}

.sd-mode-toggle {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-control);
  background: var(--paper);
}
.sd-mode {
  height: 24px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--ease);
}
.sd-mode--active {
  color: var(--teal);
  font-weight: 600;
}
.sd-mode--locked {
  opacity: 0.6;
}
.sd-mode-chip {
  border-radius: 7px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-edge);
}

.reply-box button {
  border-radius: var(--radius-control);
}
.sd-composer-hint {
  display: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  color: var(--muted);
}
@media (min-width: 1280px) {
  .sd-composer-hint {
    display: block;
  }
}
button.sd-send {
  height: 36px;
  padding-inline: 14px;
  border-radius: var(--radius-control);
  background: linear-gradient(135deg, var(--teal), var(--teal-mid)) !important;
  color: var(--on-primary) !important;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: none;
}
button.sd-send:disabled {
  /* Readable while there is nothing to send yet. */
  opacity: 0.72;
  filter: saturate(0.55);
}

/* ----------------------------------------------------------- 8. Contact panel */

.sd-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}
.sd-contact__avatar {
  grid-row: span 2;
}
.sd-contact__avatar:empty {
  display: none;
}
.sd-contact__body {
  display: contents;
}
.sd-contact__body > * {
  grid-column: 1 / -1;
}
.sd-contact__body > .sd-contact__name,
.sd-contact__body > .sd-contact__platform {
  grid-column: 2;
}
.sd-contact__platform {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.sd-contact__description {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.sd-contact__actions {
  grid-column: 1 / -1;
  margin-top: 12px;
}
.sd-contact__actions button {
  border-radius: var(--radius-control);
}

.sd-kv {
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  overflow: hidden;
}
.sd-kv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 4px 10px;
  border-block-end: 1px solid var(--line-soft);
}
.sd-kv-row:nth-child(even) {
  background: color-mix(in srgb, var(--teal-wash) 45%, transparent);
}
.sd-kv > :last-child {
  border-block-end: 0;
}
.sd-kv > :not(.sd-kv-row):not(:empty) {
  padding: 8px 10px;
}
.sd-kv-label {
  flex: 0 0 72px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.sd-kv-value {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
}
.sd-kv-empty {
  color: var(--muted);
}

.sd-accordion {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-2);
}
.sd-accordion__header {
  border-radius: 13px;
  cursor: pointer;
  transition: background-color var(--ease);
}
.sd-accordion__header:hover {
  background: var(--paper);
}
.sd-accordion--open > .sd-accordion__header {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}
.sd-accordion__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.sd-accordion__chevron {
  color: var(--muted);
  transition: transform var(--ease);
}
.sd-accordion--open .sd-accordion__chevron {
  transform: rotate(180deg);
}
.sd-accordion__body {
  border-block-start: 1px solid var(--line-soft);
}

/* Labels as chips */
.label:not(.small) {
  height: 24px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
}
.label.small {
  border-radius: var(--radius-pill);
  padding-inline: 7px;
}
.sidebar-labels-wrap .label {
  background: var(--teal-soft);
  border-color: var(--teal-edge);
  color: var(--teal);
}
.sidebar-labels-wrap .label-wrap {
  gap: 4px;
  align-items: center;
}
.sidebar-labels-wrap .label-wrap > button {
  height: 24px;
  margin: 0;
  border-radius: var(--radius-pill) !important;
  background: var(--teal-wash);
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 600;
}
.sidebar-labels-wrap .label {
  margin: 0;
}

/* ----------------------------------------------------------- 9. Shared pieces */

/* Menus and popovers: opaque raised surface, no blur. */
.n-dropdown-body,
.bg-n-alpha-3.backdrop-blur-\[100px\] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--paper-2) !important;
  border-color: var(--line-soft) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-floating) !important;
}

.tooltip {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--tooltip-bg);
  color: var(--tooltip-ink);
  font-size: 11px;
  line-height: 1.35;
  box-shadow: none;
}

.modal-container {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg) !important;
  background: var(--paper-2) !important;
  box-shadow: var(--shadow-floating) !important;
}

/* Auth pages: the Sarrdeh wordmark is tall. */
img.h-8[src*="/brand/logo"] {
  height: 5.5rem;
}
img.m-4.w-32 {
  display: none !important;
}

/* --------------------------------------------------- 10. Responsive and motion */

@media (min-width: 768px) and (max-width: 1279px) {
  .conversations-list-wrap:not(.basis-full) {
    width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------ 11. Refinements */

/* Names keep the interface's start edge even when the text itself is RTL. */
.conversation--user,
.sd-contact-title,
.sd-panel-title {
  text-align: -webkit-match-parent;
  text-align: match-parent;
}

/* App-level announcements: a quiet strip rather than a saturated bar. */
.banner.primary {
  background: var(--teal-wash) !important;
  color: var(--ink-soft) !important;
  border-block-end: 1px solid var(--line-soft);
}
.banner.primary a {
  color: var(--teal) !important;
  font-weight: 600;
}
.banner.primary button {
  color: var(--teal) !important;
  background: transparent !important;
}
.banner.primary,
.banner.warning,
.banner.alert:not(.sd-notice) {
  height: 40px !important;
}

/* Contact details: labels on one line. */
.sd-kv-label {
  flex-basis: 96px;
  white-space: nowrap;
}

/* Conversation actions: quiet field labels, medium-weight values. */
.sd-accordion__body .items-center.flex.justify-between > span.text-sm {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.sd-accordion__body h4 {
  font-size: 13px;
  font-weight: 500;
}
.sd-accordion__body .mb-2 > button {
  height: 40px;
  border-radius: var(--radius-control);
  outline-color: var(--line);
}

/* Give the thread the room on mid-size desktops. */
@media (min-width: 1280px) and (max-width: 1535px) {
  .conversations-list-wrap:not(.basis-full) {
    width: 340px;
  }
}

/* The conversation workspace may never push the contact panel off-screen. */
#app > .flex.flex-grow > main {
  min-width: 0;
}

@media (min-width: 1280px) {
  .sd-conversation-header {
    flex: 0 0 64px;
  }
}

/* A locked Reply dims only its own segment, not the active mode. */
.sd-mode-toggle:disabled {
  opacity: 1;
}

/* Medium desktops: the contact panel floats over the thread rather than
   squeezing it. Keep 1279px in step with ConversationSidebar.vue. */
@media (min-width: 768px) and (max-width: 1279px) {
  main > section.flex.w-full.h-full {
    position: relative;
  }
  main > section.flex.w-full.h-full > div.max-w-sm {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 30;
    box-shadow: var(--shadow-floating);
  }
}

@media (min-width: 1280px) and (max-width: 1365px) {
  .conversations-list-wrap:not(.basis-full) {
    width: 320px;
  }
}

/* Conversation rows: channel and assignee line under the name. */
.conversation--meta {
  margin-block: 1px 0;
}
.conversation--meta .text-label-small,
.conversation--meta .text-xs {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.conversation.unread .conversation--meta {
  padding-inline-end: 30px;
}

/* Row density: two-line rows sit near 62px, three-line rows under 80px. */
.conversation > div.flex-1 {
  padding-block: 9px;
}
.conversation .conversation--user ~ .leading-6 {
  height: 1.25rem;
  line-height: 1.25rem;
}
.conversation--meta {
  height: 16px;
}

/* ------------------------------------------------- 12. Brand mark overlay */

/* One large Sarrdeh mark sits behind the thread: flat surface, single overlay. */
.conversation-details-wrap {
  isolation: isolate;
}
.conversation-details-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--overlay-ink);
  -webkit-mask: url(/brand/sarrdeh-mark.svg?v=dm1) center 42% / min(56%, 440px) auto no-repeat;
  mask: url(/brand/sarrdeh-mark.svg?v=dm1) center 42% / min(56%, 440px) auto no-repeat;
}

/* ------------------------------------------------- 13. UI/UX pass (2026-10-07) */

/* Arabic and English messages each take their own direction, per paragraph. */
.prose-bubble,
.prose-bubble p,
.prose-bubble li,
.prose-bubble blockquote {
  unicode-bidi: plaintext;
  text-align: start;
}

/* Reports on phones: number cards wrap two per row, the hourly chart scrolls. */
@media (max-width: 767px) {
  .card-body {
    flex-wrap: wrap;
    row-gap: 1rem;
  }
  .card-body > * {
    flex: 1 1 45%;
    min-width: 0;
  }
  [class*="grid-cols-[80px_1fr]"] {
    overflow-x: auto;
  }
  [class*="min-h-[10rem]"] {
    min-width: 0;
    max-width: 100%;
    padding: 1rem;
  }
}


/* ------------------------------------------------------------ Dr Mixture login page */
.sarrdeh-login.sarrdeh-login.sarrdeh-login {
  --sl-font: "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --sl-script-font: "Baloo Bhaijaan 2", "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --sl-script-weight: 800;
  --sl-script-spacing: 0;
  --sl-script-size: 2.3rem;
  --sl-script-size-lg: 3rem;
  --sl-bg: #150a10;
  --sl-text: #F6F0E2;
  --sl-muted: rgba(246, 240, 226, 0.78);
  --sl-faint: rgba(246, 240, 226, 0.56);
  --sl-card: rgba(38, 21, 31, 0.9);
  --sl-card-border: rgba(199, 212, 91, 0.22);
  --sl-input-bg: rgba(0, 0, 0, 0.28);
  --sl-input-border: rgba(246, 240, 226, 0.24);
  --sl-accent: #C7D45B;
  --sl-button-bg: #C7D45B;
  --sl-button-text: #54263B;
  --sl-dark-glow-1: rgba(199, 212, 91, 0.16);
  --sl-dark-glow-2: rgba(84, 38, 59, 0.6);
  --sl-dark-glow-3: rgba(40, 75, 59, 0.55);
}
.sarrdeh-login.sarrdeh-login.sarrdeh-login.is-light.is-light {
  --sl-bg: #F6F0E2;
  --sl-text: #54263B;
  --sl-muted: rgba(84, 38, 59, 0.78);
  --sl-faint: rgba(84, 38, 59, 0.74);
  --sl-card: rgba(255, 253, 248, 0.94);
  --sl-card-border: rgba(84, 38, 59, 0.16);
  --sl-input-bg: #fffdf8;
  --sl-input-border: rgba(84, 38, 59, 0.6);
  --sl-accent: #54263B;
  --sl-button-bg: #54263B;
  --sl-button-text: #FBF7EC;
  --sl-light-glow-1: rgba(199, 212, 91, 0.2);
  --sl-light-glow-2: rgba(84, 38, 59, 0.1);
  --sl-watermark-opacity: 0.06;
}
/* One focus outline, not two: when a box already turns plum on focus (search page, Chatwoot's
   border-n-brand), the borderless field inside it drops the global input focus ring. */
.border-n-brand input.reset-base:focus,
.border-n-brand input.reset-base:focus-visible,
[class*="has-[:focus]:outline-n-brand"] input:focus,
[class*="has-[:focus]:outline-n-brand"] input:focus-visible {
  /* !important: the global rule uses input:not(...)x4:focus, which outranks any class chain */
  outline-color: transparent !important;
  box-shadow: none !important;
}
/* Headings: Baloo Bhaijaan 2 (guideline p.12). Body and UI stay in DM Sans / IBM Plex Sans Arabic. */
#app h1, #app h2, #app h3,
.sarrdeh-login h1, .sarrdeh-login h2, .sarrdeh-login h3 {
  font-family: var(--font-heading, "Baloo Bhaijaan 2", "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif) !important;
  font-weight: 700;
}
/* The brand name on the login page uses the heading face; plum on light, lime on dark. */
.sarrdeh-login.sarrdeh-login .sl-script.sl-script {
  color: #C7D45B;
}
.sarrdeh-login.sarrdeh-login.is-light .sl-script.sl-script {
  color: #54263B;
}
