/*
 * SPDX-FileCopyrightText: 2026 Arnold Bagabaldo
 * SPDX-License-Identifier: LicenseRef-GoOffice-Proprietary
 */

:root[data-go-edition="business"] {
  --go-bg: #f6f2fc;
  --go-bg-gradient:
    linear-gradient(135deg, rgba(109, 40, 217, 0.11), transparent 42%),
    linear-gradient(315deg, rgba(14, 124, 102, 0.07), transparent 46%),
    #f6f2fc;
  --go-ink: #211533;
  --go-muted: #6f6480;
  --go-faint: #f7f4fb;
  --go-panel: rgba(255, 255, 255, 0.95);
  --go-panel-solid: #ffffff;
  --go-panel-soft: #fbf9fe;
  --go-toolbar: rgba(250, 247, 253, 0.94);
  --go-hover: #f0eafd;
  --go-selected: #ebe2fb;
  --go-line: #e2d9ee;
  --go-line-strong: #cdbce2;
  --go-blue: #6d28d9;
  --go-blue-dark: #4c1d95;
  --sc-navy: #2d174b;
  --sc-blue: #6d28d9;
  --sc-sky: #faf7fd;
  --sc-line: #e3d9ef;
  --ink: #211533;
  --muted: #6f6480;
  --line: #e2d9ee;
  --soft: #f7f4fb;
  --blue: #6d28d9;
  --blue-dark: #4c1d95;
  --background: linear-gradient(135deg, #f3edfc 0%, #ffffff 52%, #eef7f4 100%);
  --surface-soft: #fbf9fe;
  --selected: #ebe2fb;
  --toolbar: rgba(250, 247, 253, 0.94);
  --chat-bg: #f4f0fb;
  --chat-panel: rgba(255, 255, 255, 0.95);
  --chat-panel-strong: #ffffff;
  --chat-soft: #f0eafd;
  --chat-line: rgba(73, 43, 104, 0.16);
  --chat-text: #211533;
  --chat-muted: #746783;
  --chat-primary: #6d28d9;
  --chat-primary-dark: #4c1d95;
  --office-bg: #f6f2fc;
  --office-panel: rgba(255, 255, 255, 0.95);
  --office-rail: rgba(255, 255, 255, 0.93);
  --office-line: #e2d9ee;
  --office-ink: #211533;
  --office-muted: #6f6480;
  --office-faint: #f7f4fb;
  --office-hover: #f0eafd;
  --office-blue: #6d28d9;
  --wb-bg: #f8f5fd;
  --wb-pane: rgba(255, 255, 255, 0.95);
  --wb-panel: #ffffff;
  --wb-ink: #211533;
  --wb-body: #594b69;
  --wb-muted: #746783;
  --wb-line: rgba(109, 82, 139, 0.25);
  --wb-blue: #6d28d9;
  --wb-blue-dark: #4c1d95;
  --wb-cyan-soft: #eee7fb;
  --wallet-blue: #6d28d9;
  --wallet-ink: #211533;
  --wallet-muted: #746783;
  --wallet-line: #e2d9ee;
  --wallet-bg: #f6f2fc;
}

:root[data-go-edition="business"] body.go-chat-app {
  background:
    radial-gradient(circle at 16% 10%, rgba(109, 40, 217, 0.12), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--chat-bg) 94%, #ffffff), var(--chat-bg));
}

:root[data-go-edition="business"] .go-workspace-app:not(.is-go-dark):not(.is-office-dark) .go-workspace-topbar,
:root[data-go-edition="business"] .go-workspace-app:not(.is-go-dark):not(.is-office-dark) .mail-topbar {
  border-top-color: #4c1d95;
}

:root[data-go-edition="business"] .go-workspace-app:not(.is-go-dark):not(.is-office-dark) input:focus,
:root[data-go-edition="business"] .go-workspace-app:not(.is-go-dark):not(.is-office-dark) select:focus,
:root[data-go-edition="business"] .go-workspace-app:not(.is-go-dark):not(.is-office-dark) textarea:focus {
  outline-color: rgba(109, 40, 217, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root[data-go-edition="business"]:not([data-go-theme="light"]):not([data-mail-theme="light"]) {
    --go-bg: #0d0715;
    --go-bg-gradient: #0d0715;
    --go-ink: #f8f5fc;
    --go-muted: #c0b4cf;
    --go-faint: #191124;
    --go-panel: rgba(25, 17, 36, 0.95);
    --go-panel-solid: #171020;
    --go-panel-soft: #21172d;
    --go-toolbar: rgba(35, 24, 47, 0.94);
    --go-hover: #2a1a3b;
    --go-selected: #34204c;
    --go-line: #3e2d50;
    --go-line-strong: #58416e;
    --go-blue: #ad8af0;
    --go-blue-dark: #eee5ff;
    --sc-navy: #2b1745;
    --sc-blue: #ad8af0;
    --sc-sky: #0d0715;
    --sc-line: #3e2d50;
    --ink: #f8f5fc;
    --muted: #c0b4cf;
    --line: #3e2d50;
    --soft: #191124;
    --blue: #ad8af0;
    --blue-dark: #eee5ff;
    --background: #0d0715;
    --surface: rgba(25, 17, 36, 0.95);
    --surface-solid: #171020;
    --surface-soft: #21172d;
    --selected: #34204c;
    --toolbar: rgba(35, 24, 47, 0.94);
    --chat-bg: #0d0715;
    --chat-panel: rgba(24, 16, 35, 0.95);
    --chat-panel-strong: #171020;
    --chat-soft: #21172d;
    --chat-line: rgba(232, 220, 247, 0.16);
    --chat-text: #fbf8ff;
    --chat-muted: #c0b4cf;
    --chat-primary: #ad8af0;
    --chat-primary-dark: #8b5fde;
    --office-bg: #0d0715;
    --office-panel: rgba(25, 17, 36, 0.95);
    --office-rail: rgba(25, 17, 36, 0.93);
    --office-line: #3e2d50;
    --office-ink: #f8f5fc;
    --office-muted: #c0b4cf;
    --office-faint: #191124;
    --office-hover: #2a1a3b;
    --office-blue: #ad8af0;
    --wb-bg: #0d0715;
    --wb-pane: rgba(25, 17, 36, 0.95);
    --wb-panel: #171020;
    --wb-ink: #f8f5fc;
    --wb-body: #ddd2e8;
    --wb-muted: #c0b4cf;
    --wb-line: rgba(232, 220, 247, 0.18);
    --wb-blue: #ad8af0;
    --wb-blue-dark: #eee5ff;
    --wb-cyan-soft: #34204c;
    --wallet-blue: #ad8af0;
    --wallet-ink: #f8f5fc;
    --wallet-muted: #c0b4cf;
    --wallet-line: #3e2d50;
    --wallet-bg: #0d0715;
    --wallet-panel: #171020;
  }
}
