:root {
    --audit-nav-radius: 12px;
    --audit-hero-radius: 16px;
    --audit-surface-elev: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.audit-module-nav {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--audit-nav-radius);
    background: color-mix(in srgb, var(--mud-palette-surface) 92%, transparent);
}

.audit-mod-nav__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
}

.audit-mod-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 10px;
    color: var(--mud-palette-text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.audit-mod-nav__link:hover {
    background: color-mix(in srgb, var(--mud-palette-primary) 9%, transparent);
    color: var(--mud-palette-primary);
    transform: translateY(-1px);
}

.audit-mod-nav__link--active {
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, var(--mud-palette-surface));
    color: var(--mud-palette-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 18%, transparent);
}

.audit-header-gradient {
    border-radius: var(--audit-hero-radius);
    background:
        radial-gradient(900px 260px at 12% -10%, rgba(255, 255, 255, 0.24), transparent 60%),
        linear-gradient(135deg, #075e35 0%, #08723f 54%, #0a8f52 100%);
    color: #fff;
}

.audit-surface-border {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--audit-surface-elev);
}

.audit-smart-header__avatar {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.audit-smart-header__kicker {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.audit-smart-header__title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.audit-smart-header__subtitle {
    color: rgba(255, 255, 255, 0.86);
    max-width: 820px;
}

.audit-smart-header__panel {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    backdrop-filter: blur(10px);
}

.audit-smart-header__chip {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.audit-page-shell {
    max-width: 100%;
}

.audit-command-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: var(--mud-palette-surface);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.055);
}

@media (max-width: 960px) {
    .audit-smart-header__panel {
        margin-top: 8px;
    }
}
