/* Darek's MyFounders layout: dark/gold navigation and light/blue content.
   Loaded by the managed server only, before the application starts. */
:root[data-product="myfounders"] {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  --background: #f7fbff;
  --surface: #fff;
  --raised: #eef5ff;
  --ink: #14233d;
  --muted: #5d7394;
  --line: #d5e4f6;
  --border-strong: #abc9f1;
  --accent: #1e6fff;
  --accent-hover: #0b55d9;
  --accent-soft: #eaf3ff;
  --accent-border: #c5daf8;
  --on-accent: #fff;
  --danger: #b42318;
  --danger-surface: #fff1ef;
  --gold: var(--accent);
  --border: var(--line);
  background: var(--background);
  color: var(--ink);
}
[data-product="myfounders"] body {
  background: radial-gradient(circle at 84% 4%, rgb(126 180 255 / 18%), transparent 26%), linear-gradient(180deg, #eaf3ff, #f7fbff 28%, #fff);
}
[data-product="myfounders"] :is(h1, h2, h3, .brand, .workspace-brand strong) { color: #0b2a62; }
[data-product="myfounders"] :is(.rail, .sidebar) {
  color-scheme: dark;
  --background: #101110;
  --surface: #191b18;
  --raised: #232620;
  --ink: #f2f3ed;
  --muted: #b0b3a9;
  --line: #34372f;
  --border-strong: #666b5e;
  --accent: #dfbd69;
  --accent-hover: #f0d795;
  --accent-soft: #2e291d;
  --accent-border: #6c5930;
  --on-accent: #171810;
  --danger: #ffaaa0;
  --danger-surface: #412724;
  background: var(--surface);
  color: var(--ink);
}
[data-product="myfounders"] .rail { border-right: 1px solid var(--line); }
[data-product="myfounders"] .sidebar .workspace-brand strong { color: var(--ink); }
/* Keep managed navigation tiles aligned, including the Simple contact link. */
[data-product="myfounders"] .chat-modes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 12px 8px; }
[data-product="myfounders"] .chat-modes > .button,
[data-product="myfounders"] .chat-modes + .button,
[data-product="myfounders"] .sidebar-top > .button.full { min-height: 40px; padding: 10px 12px; font-size: 12px; text-align: center; overflow-wrap: anywhere; }
[data-product="myfounders"] .chat-modes + .button { margin: 0 12px 8px; }
[data-product="myfounders"] .sidebar-scroll { padding-inline: 12px; }
[data-product="myfounders"] .sidebar-top:has(> .button.full) { padding: 0 0 20px; }
[data-product="myfounders"] .rail .myfounders-navigation-mark { display: flex; align-items: center; justify-content: center; gap: 4px; }
[data-product="myfounders"] .myfounders-navigation-mark i { display: block; width: 4px; height: 21px; background: var(--accent); transform: skewY(-17deg); }
[data-product="myfounders"] .myfounders-navigation-mark i:nth-child(2) { height: 25px; }
[data-product="myfounders"] .brand-mark { object-fit: contain; }
[data-product="myfounders"] .primary { border-radius: 10px; }
[data-product="myfounders"] .connection-error {
  width: min(620px, calc(100% - 32px));
  margin: clamp(24px, 10vh, 100px) auto;
  min-height: auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgb(30 111 255 / 8%);
}
[data-product="myfounders"] :is(.company-choice, dialog, .download-panel, .message-action-menu, .mention-picker) { box-shadow: 0 12px 40px rgb(11 42 98 / 12%); }
[data-product="myfounders"] dialog::backdrop { background: rgb(11 42 98 / 28%); }
[data-product="myfounders"] :is(input, textarea):focus,
[data-product="myfounders"] #composer:focus-within { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgb(30 111 255 / 14%); }
[data-product="myfounders"] .color-0 { background: #eaf3ff; color: #1d4f9c; }
[data-product="myfounders"] .color-1 { background: #e2f4ed; color: #27664f; }
[data-product="myfounders"] .color-2 { background: #fff0e4; color: #8a5023; }
[data-product="myfounders"] .color-3 { background: #f1eafa; color: #71438e; }
[data-product="myfounders"] .color-4 { background: #edf4e4; color: #4b6b2e; }
[data-product="myfounders"] .color-5 { background: #e9eff6; color: #4f617a; }
[data-product="myfounders"] .youtube-card { background: var(--surface); }
[data-product="myfounders"] .youtube-actions :is(a, button) { color: var(--accent); }
[data-product="myfounders"] .youtube-play:focus-visible { outline-color: var(--accent); }
[data-product="myfounders"] .voice-message-dialog { border-color: var(--line); background: var(--surface); color: var(--ink); }
[data-product="myfounders"] .voice-destination { color: var(--muted); }
[data-product="myfounders"] .call-recording-controls { background: var(--danger-surface); }
[data-product="myfounders"] :is(.recording-indicator, .unread-divider) { color: var(--danger); }
[data-product="myfounders"] .saved-call { background: var(--raised); }
:root[data-product="myfounders"] .contact-notice { background: var(--accent-soft); border-color: var(--accent-border); }
[data-product="myfounders"] .account-page { min-height: 100dvh; }
[data-product="myfounders"] .account-page :is(section, article, dialog) { background: var(--surface); border-color: var(--line); color: var(--ink); }
[data-product="myfounders"] .account-page p { color: var(--muted); }
[data-product="myfounders"] .account-page a { color: var(--accent); }
[data-product="myfounders"] .account-page :is(input, select, textarea) { background: var(--surface); border-color: var(--border-strong); color: var(--ink); accent-color: var(--accent); }
[data-product="myfounders"] .account-page button { background: var(--accent-soft); border-color: var(--accent-border); color: #1d4f9c; border-radius: 10px; }
[data-product="myfounders"] .account-page .danger { color: var(--danger); border-color: var(--danger); }
[data-product="myfounders"] .account-page :is(button, a, input):focus-visible { outline-color: var(--accent); }
[data-product="myfounders"] .account-page :is(.reaction-choices label, #reaction-preferences-options) { border-color: var(--line); }
[data-product="myfounders"] .account-page .reaction-choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
[data-product="myfounders"] .account-page :is(#status, #reaction-preferences-status):not(:empty) { border-color: var(--accent); }
