/* SOL.Service Online: additive branding; Dify marks remain unchanged. */
html:root:not([data-theme="dark"]), html:root[data-theme="light"] {
  --color-background-body: #faf8f5;
  --color-background-sidenav-bg: #faf8f5;
  --color-text-accent: #a84d00;
  --color-text-accent-secondary: #a84d00;
  --color-text-accent-light-mode-only: #a84d00;
  --color-state-accent-solid: #a84d00;
  --color-state-accent-hover: #fff0dc;
  --color-state-accent-active: #ffe4bf;
  --color-components-button-primary-bg: #ee7f01;
  --color-components-button-primary-bg-hover: #dc7400;
  --color-components-button-primary-text: #212529;
  --color-components-button-primary-border: #ee7f01;
  --color-components-button-primary-border-hover: #dc7400;
  --color-components-button-secondary-accent-text: #a84d00;
  --color-components-button-secondary-accent-bg: #fff0dc;
  --color-components-button-secondary-accent-bg-hover: #ffe4bf;
  --color-components-input-border-active: #a84d00;
}
html:root[data-theme="dark"] {
  --color-text-accent: #ffa642;
  --color-text-accent-secondary: #ffa642;
  --color-state-accent-solid: #ffa642;
  --color-components-button-primary-bg: #ee7f01;
  --color-components-button-primary-bg-hover: #ffa642;
  --color-components-button-primary-text: #212529;
  --color-components-button-primary-border: #ee7f01;
}
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
header:has(> img[alt="Dify"]) { border-top: 4px solid #ee7f01; gap: 20px; }
header:has(> img[alt="Dify"])::before {
  content: "";
  display: block;
  flex: 0 0 100px;
  height: 60px;
  background: #fff url('/sol-brand/sol-logo.png') center / 100px 60px no-repeat;
  border-radius: 4px;
}
header > img[alt="Dify"] { margin-right: auto; }
header:has(> img[alt="Dify"]) ~ main h1::before {
  content: "SOL · KI-Crew";
  display: block;
  margin-bottom: 16px;
  color: var(--color-text-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}
:focus-visible { outline: 2px solid #a84d00; outline-offset: 3px; }
@media (max-width: 480px) {
  body:has(header > img[alt="Dify"]) main .w-100 { max-width: 100%; }
  body:has(header > img[alt="Dify"]) main { overflow-wrap: anywhere; }
  header:has(> img[alt="Dify"]) { padding: 12px; gap: 12px; }
  header:has(> img[alt="Dify"])::before { flex-basis: 75px; height: 45px; background-size: 75px 45px; }
  header > img[alt="Dify"] { width: 48px; }
  header:has(> img[alt="Dify"]) .w-56 { width: auto; }
}
