/* Farben und Original-Logo: https://www.infrarotheizung-candor.de/de/ */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/source-sans-pro-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/source-sans-pro-700.woff2') format('woff2');
}

:root {
  --brand: #c90e45;
  --brand-hover: #990b35;
  --brand-soft: #fcebf0;
  --ink: #1d1d1b;
  --dark: #2b2b2b;
  --muted: #6c757d;
  --line: #eaebec;
}

.brand {
  display: block;
  padding: 0 11px;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
}

.brand-sub {
  color: var(--muted);
  letter-spacing: 2.8px;
  padding: 12px 0 28px 11px;
}

.nav button.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav .badge-count {
  background: #f7d5df;
  color: var(--brand-hover);
}

.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn.primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.tab.active,
.workspace-switch .square,
.flow-node.active > span {
  color: var(--brand);
}

.tab.active:after {
  background: var(--brand);
}

.workspace-switch .square,
.flow-node.active > span {
  background: var(--brand-soft);
}

.progress-track i,
.stage-row .bar i,
.chart-legend i {
  background: var(--brand);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: var(--brand);
}

.profile { align-items: flex-start; }
.profile-identity { min-width: 0; }
.profile-identity > strong { display: block; overflow-wrap: anywhere; }
.profile-identity > small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 9px; }
.profile-actions a, .profile-actions button { font-size: 10px; padding: 0; color: var(--muted); }
.profile-actions form { margin: 0; }

.has-environment-banner { --environment-banner-height: 38px; padding-top: var(--environment-banner-height); }
.environment-banner { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--environment-banner-height); display: flex; justify-content: center; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid #e6c66b; background: #fff0bc; color: #654800; font: 600 13px/1.3 'Source Sans Pro', sans-serif; }
.environment-banner strong { border-radius: 4px; background: #765300; color: #fff; padding: 3px 7px; font-size: 11px; letter-spacing: 1px; }
.environment-banner small { font-size: 12px; font-weight: 400; }
.has-environment-banner .sidebar { top: var(--environment-banner-height); }
.has-environment-banner .auth-shell { min-height: calc(100dvh - var(--environment-banner-height)); }
.has-environment-banner .modal-backdrop, .has-environment-banner .drawer-backdrop, .has-environment-banner .drawer { top: var(--environment-banner-height); }
.has-environment-banner .drawer { height: calc(100dvh - var(--environment-banner-height)); }
@media (max-width: 600px) { .environment-banner small { display: none; } }
@media print { .environment-banner { display: none !important; } .has-environment-banner { padding-top: 0; } }
