waddling-errors 0.7.3

Structured, secure-by-default diagnostic codes for distributed systems with no_std and role-based documentation
Documentation
/* ============================================
   HEADER
   Top Navigation and Brand
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-sidebar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* === Hamburger Menu Button (Mobile) === */
.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.25rem;
}

.hamburger-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.hamburger-btn.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

/* === Brand Section === */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.brand-name {
    color: var(--text-muted);
}

.brand-divider {
    color: var(--border-light);
}

.project-name {
    font-weight: 600;
    color: var(--text-primary);
}

.header-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    object-fit: contain;
}

/* === Version === */
.version {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
}

/* === Format Toggle === */
.format-toggle {
    padding: 0.375rem 0.625rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.format-toggle:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* === Role Badge === */
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.role-badge.internal {
    background: var(--role-internal-bg);
    color: var(--role-internal);
    border: 1px solid var(--role-internal);
}

.role-badge.developer {
    background: var(--role-developer-bg);
    color: var(--role-developer);
    border: 1px solid var(--role-developer);
}

.role-badge.public {
    background: var(--role-public-bg);
    color: var(--role-public);
    border: 1px solid var(--role-public);
}

/* === Theme Toggle === */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* === Stats Counter === */
.stats-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stats-counter strong {
    color: var(--text-primary);
    font-weight: 600;
}