/* ============================================================
   Console skin — faithful layout (brand swap only).
   build_site.py substitutes the token placeholders from brand.json.
   Rules that strip official decoration live in brand-stripped.css
   and are only appended when brand.json has "layout": "stripped".
   ============================================================ */

/* ---------- wordmark: Arial Black, gradient base + accent tail ---------- */
.bw-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  -webkit-user-select: none;
  user-select: none;
}
.bw-icon {
  display: none !important;
}
.bw-word {
  display: inline-flex;
  align-items: baseline;
  font-family: "Arial Black", "Arial Bold", "Segoe UI Black", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.bw-word .bw-base,
.bw-word .bw-accent {
  display: inline-block;
}
.bw-word .bw-base {
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 38%, #9ca3af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bw-word .bw-accent {
  color: #4da3ff;
  -webkit-text-fill-color: #4da3ff;
  filter: drop-shadow(0 0 8px rgba(77, 163, 255, 0.4));
}
:root[data-theme="light"] .brand .bw-base {
  background: linear-gradient(180deg, #111827 0%, #4b5563 48%, #6b7280 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .brand .bw-accent {
  color: #2563eb;
  -webkit-text-fill-color: #2563eb;
}

/* ---------- dashboard header ---------- */
.brand .site-logo.bw-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 4px 0 0 !important;
  transform: none !important;
  font: 900 28px/1 "Arial Black", "Arial Bold", "Segoe UI Black", Arial, sans-serif !important;
  letter-spacing: -0.02em !important;
}
@media (max-width: 1024px) {
  .brand .site-logo.bw-logo {
    font-size: 22px !important;
  }
}
.tb.compact .brand .site-logo.bw-logo {
  font-size: 16px !important;
}

/* ---------- elements hidden at runtime by brand.js ---------- */
.bw-hidden {
  display: none !important;
}
a[href="/wash/"] {
  display: none !important;
}

/* ---------- login page logo (planet icon + wordmark, kept as-is) ---------- */
.lgnp .np-brand .np-word.bw-logo {
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}
