/* Reuse the neutral WebUI component skin; all BEA brand decisions live here. */
@import url('/webui/static/css/graphite.css?v=20261128_3');

@font-face {
  font-family: 'myriad-pro';
  src: url('../fonts/MyriadPro-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'myriad-pro';
  src: url('../fonts/MyriadPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'myriad-pro';
  src: url('../fonts/MyriadPro-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/SourceSansPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html:root {
  --cq-active-theme: eberle;
  --bs-font-sans-serif: 'myriad-pro', 'Source Sans Pro', Arial, sans-serif;
  --bs-border-radius: .375rem;
  --bs-border-radius-lg: .5rem;
}
html:root:not([data-bs-theme='dark']) {
  color-scheme: light;
  --cq-page: #ffffff;
  --cq-page-rgb: 255, 255, 255;
  --cq-surface: #ffffff;
  --cq-surface-raised: #f5f3f0;
  --cq-input: #ffffff;
  --cq-text: #000000;
  --cq-text-rgb: 0, 0, 0;
  --cq-muted: #525252;
  --cq-line: #d9d3cd;
  --cq-selected: #fbe8e5;
  --cq-accent: #e61d12;
  --cq-accent-rgb: 230, 29, 18;
  --cq-action: #e61d12;
  --cq-action-hover: #bd180f;
  --cq-on-action: #ffffff;
  --cq-shadow: 0 2px 12px rgb(0 0 0 / 4%);
}
/* The source website is light. This dark palette is the demo's adaptation. */
html:root[data-bs-theme='dark'] {
  color-scheme: dark;
  --cq-page: #171717;
  --cq-page-rgb: 23, 23, 23;
  --cq-surface: #232323;
  --cq-surface-raised: #2d2c2b;
  --cq-input: #1d1d1d;
  --cq-text: #f5f3f0;
  --cq-text-rgb: 245, 243, 240;
  --cq-muted: #c2bcb6;
  --cq-line: #4b4641;
  --cq-selected: #402522;
  --cq-accent: #ff786e;
  --cq-accent-rgb: 255, 120, 110;
  --cq-action: #ff786e;
  --cq-action-hover: #ff9c94;
  --cq-on-action: #171717;
  --cq-shadow: 0 2px 12px rgb(0 0 0 / 12%);
}
html:root body {
  font-family: var(--bs-font-sans-serif);
  font-weight: 400;
}
html:root :is(h1, h2, h3, h4, h5, h6, .app-brand-text) {
  font-family: var(--bs-font-sans-serif);
  font-weight: 600;
}
/* Preserve configured wordmarks when switching away from the default theme. */
html:root .app-brand-logo.cq-config-brand {
  width: 180px;
  height: 52px;
  flex: 0 1 180px;
}
html:root .app-brand-logo.cq-config-brand img {
  content: normal;
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}
html:root .cq-config-brand-dark { display: none; }
html:root[data-bs-theme='dark'] .cq-config-brand-light,
html:root[data-bs-theme='dark'] .app-brand-logo.cq-config-brand:has(.cq-config-brand-dark) > img:first-child { display: none; }
html:root[data-bs-theme='dark'] .cq-config-brand-dark { display: block; }
html:root[data-bs-theme='dark'] #layout-menu { background: var(--cq-surface) !important; }
/* App accents follow BEA; semantic status colours remain untouched. */
html:root :is(.one-app-theme, .one-project-appearance, .one-crm-appearance) {
  --cq-app-light-accent: #e61d12 !important;
  --cq-app-light-hover: #bd180f !important;
  --cq-app-light-on-accent: #ffffff !important;
  --cq-app-dark-accent: #ff786e !important;
  --cq-app-dark-hover: #ff9c94 !important;
  --cq-app-dark-on-accent: #171717 !important;
}

html:root:not([data-bs-theme="dark"]) .content-footer{background:#efebe6}

html:root:not([data-bs-theme="dark"]) #layout-menu{background:#efebe6!important;border-inline-end:1px solid #e2ddd8}
html:root:not([data-bs-theme="dark"]) #layout-menu .app-brand,html:root:not([data-bs-theme="dark"]) #layout-menu .menu-inner{background:transparent!important}
