/* Circuit Drift Labs shared identity. Source: circuitdriftlabs/theme.md.
   Self-contained: no remote fonts, scripts, images, or runtime dependencies. */
:root {
  --cdl-background: #0e1116;
  --cdl-surface: #171b22;
  --cdl-edge: #2a303a;
  --cdl-accent: #e8532a;
  --cdl-secondary: #4fb6c4;
  --cdl-text: #e6e8ec;
  --cdl-muted: #8a929e;
}
.cdl-brand-bar {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  padding: 8px clamp(12px, 3vw, 32px);
  border-bottom: 1px solid var(--cdl-edge);
  border-left: 2px solid var(--cdl-accent);
  background: var(--cdl-surface);
  color: var(--cdl-text);
  font: 600 13px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
a.cdl-home-link, .cdl-brand-bar a, a.cdl-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  text-decoration: none;
}
.cdl-brand-bar a { color: var(--cdl-text); }
.cdl-brand-bar .cdl-project-index { color: var(--cdl-secondary); font-size: 12px; }
a.cdl-home-link:hover, .cdl-brand-bar a:hover { text-decoration: underline; text-underline-offset: 4px; }
a.cdl-home-link:focus-visible, .cdl-brand-bar a:focus-visible, a.cdl-logo-link:focus-visible {
  outline: 2px solid var(--cdl-secondary);
  outline-offset: 3px;
}
.cdl-brand-mark, img.cdl-brand-mark, svg.cdl-brand-mark {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  object-fit: contain;
}
.cdl-brand-bar a span { width: auto; height: auto; border: 0; background: transparent; color: inherit; }
@media (max-width: 480px) {
  .cdl-brand-bar { gap: 4px 12px; }
  .cdl-brand-bar .cdl-project-index { font-size: 11px; }
}
